[logback-user] question about start-up process and disabling auto-configuration

Rob Ross rob.ross at gmail.com
Wed Dec 3 22:26:04 CET 2008


Is there a way to disable the auto-configuration at startup? One of  
the first things my app does is locate the right configuration file  
(logback.xml) to use for the current environment and calls  
doConfigure().

But, when the app first starts up, it automatically configures Logback  
and prints out the debug information to System.out. Since I  
immediately re-configure logback, this seems like a waste and the  
status messages are also extraneous.

Is there a way to suppress the auto-configuration at startup so I can  
handle it myself? Or at least not print out those auto-configuration  
messages on System.out?

Thanks!

Rob



More information about the Logback-user mailing list