Best startup time with Logback-tyler #4
-
Hello. Best regards |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
@Dichotomia A With recent versions of logback and logback-tyler you can still configure logger levels dynamically using properties files. Note that configuration files in properties format can be watched for changes. Configuration files in properties format are special in the sense that they can be watched for changes on web-servers using HTTP or HTTPS protocols. For security reasons, XML configuration files cannot be loaded via HTTP or HTTPS. |
Beta Was this translation helpful? Give feedback.
-
@Dichotomia There are many examples in the logback manual. Whenever you see an example configuration file, just click on the tab labeled "Tytler". You can also tylerize your own configuration files using the translation services. Once you generate the configurator in Java (using logback-tyler), the generated file contains further instructions on how to integrate your custom configurator in Java into your project. It is actually quite simple. Keep in mind that by integrating a .properties configuration file info your configurator, you can still change logger levels dynamically, without redeploying your application. |
Beta Was this translation helpful? Give feedback.
-
The questions have been answered |
Beta Was this translation helpful? Give feedback.
@Dichotomia A
TylerConfigurator
will start faster since there is no need to parse an XML file and process it.With recent versions of logback and logback-tyler you can still configure logger levels dynamically using properties files. Note that configuration files in properties format can be watched for changes. Configuration files in properties format are special in the sense that they can be watched for changes on web-servers using HTTP or HTTPS protocols. For security reasons, XML configuration files cannot be loaded via HTTP or HTTPS.