[logback-user] I'm getting the "substitute logger" error message yet my appender still works
pggifford at gmail.com
Tue Oct 25 00:06:26 CEST 2011
Wow...that was easy...thanks!
On Mon, Oct 24, 2011 at 4:50 PM, ceki <ceki at qos.ch> wrote:
> Simply move the configuration of your custom appender to another
> secondary configuration file. Load this file in a second configuration
> step. That's it. You don't have to worry about loggers references by
> Spring classes.
> On 24/10/2011 10:45 PM, Paul Gifford wrote:
>> Oh, right, that's an important consideration...thanks for catching that!
> I have the two-step configuration working (thanks for the good example)
>> but what's the best way to mirror the application's Spring logging
>> setting? Is there a way to capture what the application settings are
>> for Spring?
>> The way I understand how the two-step configuration works is:
>> 1. Application starts, some logging configured
>> 2. Logging configured for classes that depend on loggers created in step
>> Does step 2 depend on the user of the library (i.e. other developers)
>> creating a 2nd Logback configuration file or is it possible to either
>> ship an appropriate configuration file or to configure logging for the
>> classes in step 2 dynamically?
> Logback-user mailing list
> Logback-user at qos.ch
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Logback-user