With a filter JaninoEventEvaluator http://logback.qos.ch/manual/filters.html#JaninoEventEvaluator
------------------------------------- Marco Sousa 2011/10/18 GS <[email protected]> > Hi, > > I have configured the sifting appender with a default value (unknown) for > the discriminator, which generates a file called foo-unknown.log. But I > would ideally like the appender to not output to any file when the > discriminator via MDC has not yet been set. Any suggestions? > > Thanks, > G > _______________________________________________ > Logback-user mailing list > [email protected] > http://mailman.qos.ch/mailman/listinfo/logback-user >
_______________________________________________ Logback-user mailing list [email protected] http://mailman.qos.ch/mailman/listinfo/logback-user
