![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Assignee:
|
Logback dev list
|
|
Components:
|
logback-access |
|
Created:
|
17/Jun/13 11:30 AM
|
|
Description:
|
I'm trying to set the log level to debug for a specific class file. It does not seem to work, whereas for a package it works perfectly fine.
my logback configurations are as follows:
<appender name="file2" class="ch.qos.logback.core.rolling.RollingFileAppender">
<!--See http://logback.qos.ch/manual/appenders.html#RollingFileAppender-->
<!--and http://logback.qos.ch/manual/appenders.html#TimeBasedRollingPolicy-->
<!-for further documentation->
<File>$
{catalina.home}/logs/testClass-logback.log</File>
<Append>true</Append>
<encoder>
<pattern>%-5p | %d{ISO8601} | %t | %m | %X{logUID} %n</pattern>
</encoder>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>${catalina.home}
/logs/testClass-logback.log.%d
{.yyyy-MM-dd}
</fileNamePattern>
</rollingPolicy>
</appender>
<logger name="com.pack1.pack2.paack3.ClassName" additivity="false" level="debug">
<appender-ref ref="file1"/>
</logger>
|
|
Environment:
|
Linux/Windows
|
|
Project:
|
logback
|
|
Priority:
|
Critical
|
|
Reporter:
|
donald fernandes
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
_______________________________________________
logback-dev mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-dev