You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Dave Marion (JIRA)" <ji...@apache.org> on 2012/09/09 00:42:07 UTC

[jira] [Updated] (ACCUMULO-674) Convert default log4j to use log4j date formatters

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

Dave Marion updated ACCUMULO-674:
---------------------------------

    Attachment: ACCUMULO-674-1.patch
    
> Convert default log4j to use log4j date formatters
> --------------------------------------------------
>
>                 Key: ACCUMULO-674
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-674
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: scripts
>    Affects Versions: 1.4.1
>            Reporter: John Vines
>            Assignee: Dave Marion
>            Priority: Minor
>              Labels: log4j, newbie
>             Fix For: 1.4.2
>
>         Attachments: ACCUMULO-674-1.patch
>
>
> This is a small change.
> http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html conversion character d-
> "For better results it is recommended to use the log4j date formatters. These can be specified using one of the strings "ABSOLUTE", "DATE" and "ISO8601" for specifying AbsoluteTimeDateFormat, DateTimeDateFormat and respectively ISO8601DateFormat. For example, %d{ISO8601} or %d{ABSOLUTE}. "
> So we should switch our date, as we could get better performance out of the logging.

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