accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joshelser <...@git.apache.org>
Subject [GitHub] accumulo pull request #221: ACCUMULO-4588 Simplify Accumulo logging configur...
Date Fri, 24 Feb 2017 18:03:20 GMT
Github user joshelser commented on a diff in the pull request:

    https://github.com/apache/accumulo/pull/221#discussion_r102996101
  
    --- Diff: assemble/conf/log4j-monitor.properties ---
    @@ -36,6 +36,17 @@ log4j.appender.GUI=org.apache.accumulo.server.monitor.LogService
     log4j.appender.GUI.Keep=50
     log4j.appender.GUI.Threshold=WARN
     
    +## Configures Audit logs which are OFF by default.
    +#log4j.appender.AUDIT=org.apache.log4j.DailyRollingFileAppender
    +#log4j.appender.AUDIT.File=${accumulo.log.dir}/${accumulo.local.hostname}.audit
    +#log4j.appender.AUDIT.DatePattern='.'yyyy-MM-dd
    +#log4j.appender.AUDIT.layout=org.apache.log4j.PatternLayout
    +#log4j.appender.AUDIT.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss,SSS/Z} [%c{2}]
%-5p: %m%n
    +#log4j.logger.org.apache.accumulo.audit=INFO, AUDIT
    +#log4j.additivity.org.apache.accumulo.audit=false
    +## Uncomment above and comment out line below to turn Audit logging ON
    +log4j.logger.org.apache.accumulo.audit=OFF
    --- End diff --
    
    Should this be included in log4j-monitor.properties? I would have only expected to see
it in log4j-service.properties.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message