[logback-user] Shutting down async appenders, when using logback through slf4j

Mads Bondo Dydensborg mbd at dbc.dk
Fri Jun 14 11:01:42 CEST 2013


> 
>  if ( LoggerFactory.getILoggerFactory() instanceof LoggerContext ) {
>             ((LoggerContext) LoggerFactory.getILoggerFactory() ).stop();
>         }

FYI: I also added a comment to http://jira.qos.ch/browse/LOGBACK-867 - this issue can probably be closed now.

Kind regards

Mads

-- 
Med venlig hilsen/Regards

Chefarkitekt/Chief Architect cand.scient.dat, Ph.d., Mads Bondo Dydensborg
Dansk BiblioteksCenter A/S, Tempovej 7-11, 2750 Ballerup, Tlf. +45 29 84 00 42




More information about the Logback-user mailing list