[logback-user] configuring multiple logger contexts

Raymond Auge raymond.auge at liferay.com
Thu Apr 12 18:08:07 CEST 2018


Is it possible to manage the logs of multiple logger contexts in one config
file?

The use case is where two contexts have the same logger name but two
different levels are desired:

```
<!-- in context A -->
<logger name="foo" level="DEBUG" />

<!-- in context B -->
<logger name="foo" level="INFO" />
```

-- 
*Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
 (@rotty3000)
Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
 (@Liferay)
Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org> (@OSGiAlliance)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20180412/9c6c5e8d/attachment.html>


More information about the logback-user mailing list