[logback-user] How to start my logback before anything in an application

Robert Elliot rob at lidalia.org.uk
Mon Oct 24 11:33:28 CEST 2011

On 24 Oct 2011, at 09:22, Robert Elliot <rob at lidalia.org.uk> wrote:

> Bear in mind that a static call to LoggerFactory.getLogger() will occur the moment a class is loaded. 

This was poorly phrased - what I meant was that if a class contains a static field initialised by a call to LoggerFactory.getLogger() then Logback will be initialised the moment that class is loaded (if it wasn't initialised already).

More information about the Logback-user mailing list