[logback-user] Programmmatically creatinglogger/appender/pattern

Lance White lance.white at logicscope.com
Wed Mar 25 17:09:04 CET 2009

Cheers Ceki, I'll go through those.


-----Original Message-----
From: logback-user-bounces at qos.ch [mailto:logback-user-bounces at qos.ch] On Behalf Of Ceki Gulcu
Sent: 25 March 2009 16:02
To: logback users list
Subject: Re: [logback-user] Programmmatically creatinglogger/appender/pattern

Hello Lance,

Look into the junit test cases which do that type of operation all the time. For 
example, see:


If that does not help, post your code here.

Lance White wrote:
> 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:
> Which looks like the pattern stuff isn't started up properly.
> Cheers
> Lance

Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
Logback-user mailing list
Logback-user at qos.ch

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.0.238 / Virus Database: 270.11.23/2016 - Release Date: 03/25/09 07:16:00

More information about the Logback-user mailing list