can I use java class and @Configuration annotation for creating logger file ? rather than using logback.xml configuration ?
can I use java class and @Configuration annotation for creating logger file ? rather than using logback.xml configuration ?
There is no @Configuration annotation that is handled by Logback. However, you can implement Configurator interface as a service. As of 1.3.0-beta1, it will be called before the DefaultJoranConfigurator.