logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Goers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-168) Include arbitrary message fields in RFC-5424 structured data
Date Wed, 27 Feb 2013 17:29:12 GMT

    [ https://issues.apache.org/jira/browse/LOG4J2-168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13588536#comment-13588536
] 

Ralph Goers commented on LOG4J2-168:
------------------------------------

The docs are in the source - trunk/src/site/xdocs.  The user's guide is under the manual subdirectory.
They generally use the xdoc format although some files are also processed by velocity first.

I was thinking they would be specified similar to 

<MDCFields>
  <KeyValuePair key="ClassName" value="%class"/>
  <KeyValuePair key="Sequence" value="%sequenceNumber"/>
  <KeyValuePair key="HostName value="$${env:HOSTNAME}"/>
</MDCFields>
                
> Include arbitrary message fields in RFC-5424 structured data
> ------------------------------------------------------------
>
>                 Key: LOG4J2-168
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-168
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Layouts
>    Affects Versions: 2.0-beta5
>         Environment: N/A
>            Reporter: Scott Severtson
>            Priority: Minor
>         Attachments: include-arbitrary-fields-in-mdc.patch
>
>
> We'd really like to see the logger and/or location be included in RFC-5424 structured
data. As such, we've developed a small patch to allow arbitrary PatternLayout names to be
configured on the SyslogAppender, which are then included in the structured data.
> Patch to follow shortly.

--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message