[logback-user] Log only one java package

Ceki Gulcu ceki at qos.ch
Wed Sep 30 18:44:51 CEST 2009

Of course.

  <logger name="com.test.mypack" level="DEBUG"/>
  <root level="ERROR/>

alex wrote:
> Hi,
> how is possible to log ONLY the log message for one specified java 
> package ?
> For example I have to log only the log call from com.test.mypack.* classes.
> Do I have to write a filter ?
> Thanks a lot for all help

Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.

More information about the Logback-user mailing list