[logback-dev] [JIRA] Created: (LBCLASSIC-122) %contextName with HTMLLayout produces empty logfiles
Rick Janda (JIRA)
noreply-jira at qos.ch
Mon Mar 30 19:59:10 CEST 2009
%contextName with HTMLLayout produces empty logfiles
----------------------------------------------------
Key: LBCLASSIC-122
URL: http://jira.qos.ch/browse/LBCLASSIC-122
Project: logback-classic
Issue Type: Bug
Components: layout
Affects Versions: 0.9.15
Reporter: Rick Janda
Assignee: Logback dev list
Hello Logback team,
I encountered a unexpected behavior when trying to print out the log context name in the html output.
I configured a FileAppender with the following layout:
<layout class="ch.qos.logback.classic.html.HTMLLayout">
<Pattern>%d{HH:mm:ss.SSS}%mdc{refId}%contextName%msg</Pattern>
</layout>
With this pattern, non of the log messages end up in the file. The output completely stops after the table header.
If I remove "%contextName" from the pattern, I get my log messages written to the file as expected.
Could you please have a look at this issue.
Thank you in advance for your help.
Kind regards,
Rick
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the logback-dev
mailing list