[logback-user] What is the log4j.properties file equivalent for logback?
Newcomb, Michael-P57487
Michael.Newcomb at gdc4s.com
Thu Sep 21 18:34:17 CEST 2006
Or, do I really have to do this:
Logger logger = LoggerFactory.getLogger(MyAppWithConfigFile.class);
LoggerContext lc = (LoggerContext) LoggerFactory.getILoggerFactory();
JoranConfigurator configurator = new JoranConfigurator();
configurator.setContext(lc);
configurator.doConfigure(args[0]);
Thanks,
Michael
More information about the Logback-user
mailing list