[logback-dev] [JIRA] Created: (LBCLASSIC-124) wrong Output for %contextName in SimpleSocketServer with PatternLayout

Rick Janda (JIRA) noreply-jira at qos.ch
Mon Apr 20 11:52:10 CEST 2009


wrong Output for %contextName in SimpleSocketServer with PatternLayout 
-----------------------------------------------------------------------

                 Key: LBCLASSIC-124
                 URL: http://jira.qos.ch/browse/LBCLASSIC-124
             Project: logback-classic
          Issue Type: Bug
          Components: Other
    Affects Versions: 0.9.15
            Reporter: Rick Janda
            Assignee: Logback dev list


Hello logback team,

I found some unexpected behavior when trying to print out the log context name in the log message created by the SimpleSocketServer.
%contextName in a PatternLayout of the SimpleSocketServer always creates "default" and not the context name submitted from the client.
On the other side, context based discrimination works fine on the side of the SocketServer. Thus the context name seems to be correctly handed over to the SocketServer.

Could you please have a look at this. 

Thank you in advance,
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