[logback-user] Programmmatically creating logger/appender/pattern

Lance White lance.white at logicscope.com
Wed Mar 25 16:47:36 CET 2009


Has anyone got any examples on how to programmatically create a logger /
appender / pattern et. al in-line in code?

I can't for the life of me get this running. Currently I've got the
appender  (file appender in this case) creating the output files, but
all I get in them is stuff like:

 %PARSER_ERROR_d:MODULE:%PARSER_ERROR_msg%

Which looks like the pattern stuff isn't started up properly.

Cheers

Lance


More information about the Logback-user mailing list