hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-7705) Add a log4j back end that can push out JSON data, one per line
Date Wed, 12 Oct 2011 15:21:11 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-7705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Steve Loughran updated HADOOP-7705:
-----------------------------------

    Attachment: HADOOP-7705.patch

updated version with ISO formatted date included. This makes it easier for people to read,
and the caching in Log4J's ISO8601 formatter reduces generation overhead.

The output of the log now looks like
{code}
{"name":"test","time":1318429136789,"date":"2011-10-12 15:18:56,789","level":"INFO","thread":"main","message":"test
message"}
{code}
                
> Add a log4j back end that can push out JSON data, one per line
> --------------------------------------------------------------
>
>                 Key: HADOOP-7705
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7705
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: util
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Minor
>         Attachments: HADOOP-7705-log4json.patch, HADOOP-7705.patch
>
>
> If we had a back end for Log4j that pushed out log events in single line JSON content,
we'd have something that is fairly straightforward to machine parse. If: it may be harder
to do than expected. Once working HADOOP-6244 could use it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message