
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

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. http://logback.qos.ch

Thanks a lot, I'll try it Ceki Gulcu wrote:
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
participants (2)
-
alex
-
Ceki Gulcu