問題タブ [spring-boot-admin]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
java - SpringBoot Admin and logging
I have created a SpringBoot Admin Server where clients register to it. I wish to be able to change logging levels at runtime in the 'Logging' tab in the SpringBoot Admin Server. In one of the clients, my problem is creating a parent logger for all loggers in the package "ke.co.betatech" where I would change the logging level for Logger.getLogger("ke.co.betatech") at runtime and the descendant's logging level changes. I don't want to use the root logger to change the logging level since it changes the logging levels for all loggers registered.
In the main class this is what I attempted
The problem is, the logger Logger.getLogger("ke.co.betatech")
does not appear in the list of loggers in the Spring Boot Admin Server.
spring-boot - springboot admin で jolokia コンテキスト パスを設定する方法
- アプリケーション サービスの management.context-path を /mgmt に設定し、それを eureka サーバーに登録します。
eureka:
instance:
statusPageUrlPath: ${management.context-path}/info
healthCheckUrlPath: ${management.context-path}/health
metadata-map:
management.context-path: ${management.context-path}
prefer-ip-address: true
client:
serviceUrl:
defaultZone: http://registry:7000/eureka/
- 管理 UI (別の別のサービス、および eureka サーバーのレジストリ) で JMX を表示すると、セキュリティの問題が発生しました。そして実際に /mgmt/* をホワイトリストに追加します
http.authorizeRequests()
.antMatchers("/" ,"/mgmt/*","/jolokia","/jolokia/**").permitAll()
springboot admin で jolokia コンテキストパスを設定するには?
history - Spring Boot 管理ジャーナルの履歴
Spring Boot管理サーバーを再起動した後、Spring Boot管理ジャーナルページでアプリケーションステータスの変更に関する履歴を保持する方法はありますか? 登録されたすべてのアプリケーションのすべてのステータス変更に関する履歴がありますが、管理サーバーを再起動すると履歴が消え、起動の瞬間からの変更の記録が開始されます。このページの履歴を永久に保持する方法はありますか? スプリングブート管理サーバーが再起動されても?
maven - Spring Boot管理者でサービスが失敗した場合にメール通知を受け取る方法は?
私はSpringブート管理者を使用しており、サービスがダウンするたびにメール通知や携帯電話のメッセージなどの他の通知を取得しようとしています。いろいろやってみたのですが、うまくいきません どうすればいいですか?