caillette / novelang

The electronic document generator
http://novelang.org
2 stars 1 forks source link

Configure logging with Joran instead of using system property #48

Open caillette opened 15 years ago

caillette commented 15 years ago

Yes it's possible to skip this hideous step of setting a system property. All explained in http://logback.qos.ch/manual/configuration.html

caillette commented 15 years ago

Unfortunately this doesn't work: http://logback.qos.ch/apidocs/ch/qos/logback/classic/LoggerContext.html#putProperty(java.lang.String,%20java.lang.String) Anyways documentation never told it was possible to set a property programmatically.

caillette commented 15 years ago

Maybe in a future version of Logback?