![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
1.1.1 |
|
Assignee:
|
Logback dev list
|
|
Components:
|
logback-core |
|
Created:
|
24/Mar/14 8:01 AM
|
|
Description:
|
My logback.xml use the examples like this ,
I add a %L in encoder pattern but I can't get the line number
<configuration>
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
<file>logs/test/myapp2.log</file>
<encoder>
<pattern>%logger
{35}
- %L %msg%n</pattern>
</encoder>
</appender>
<appender name="ASYNC" class="ch.qos.logback.classic.AsyncAppender">
<appender-ref ref="FILE" />
</appender>
<root level="DEBUG">
<appender-ref ref="ASYNC" />
</root>
</configuration>
result is com.ebupt.test.TestLogback -? xxx
|
|
Environment:
|
jdk6 windows7
|
|
Project:
|
logback
|
|
Labels:
|
Async
encoder
pattern
line
|
|
Priority:
|
Major
|
|
Reporter:
|
司书哲
|
|
|
|
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