|
|
@ -1,7 +1,13 @@ |
|
|
|
<?xml version="1.0" encoding="UTF-8"?> |
|
|
|
<?xml version="1.0" encoding="UTF-8"?> |
|
|
|
<Configuration packages="org.graylog2.log4j,de.bwaldvogel.log4j" shutdownHook="disable"> |
|
|
|
<Configuration packages="org.graylog2.log4j" shutdownHook="disable"> |
|
|
|
<Appenders> |
|
|
|
<Appenders> |
|
|
|
<SystemdJournal name="journal" logStacktrace="true" logSource="false" /> |
|
|
|
<RollingFile name="rolling-file" fileName="{{ graylog_root_dir }}/logs/server.log" filePattern="{{ graylog_root_dir }}/server.log.%i.gz"> |
|
|
|
|
|
|
|
<PatternLayout pattern="%d{yyyy-MM-dd'T'HH:mm:ss.SSSXXX} %-5p [%c{1}] %m%n"/> |
|
|
|
|
|
|
|
<Policies> |
|
|
|
|
|
|
|
<SizeBasedTriggeringPolicy size="50MB"/> |
|
|
|
|
|
|
|
</Policies> |
|
|
|
|
|
|
|
<DefaultRolloverStrategy max="10" fileIndex="min"/> |
|
|
|
|
|
|
|
</RollingFile> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Internal Graylog log appender. Please do not disable. This makes internal log messages available via REST calls. --> |
|
|
|
<!-- Internal Graylog log appender. Please do not disable. This makes internal log messages available via REST calls. --> |
|
|
|
<Memory name="graylog-internal-logs" bufferSize="500"/> |
|
|
|
<Memory name="graylog-internal-logs" bufferSize="500"/> |
|
|
@ -10,8 +16,6 @@ |
|
|
|
<!-- Application Loggers --> |
|
|
|
<!-- Application Loggers --> |
|
|
|
<Logger name="org.graylog2" level="info"/> |
|
|
|
<Logger name="org.graylog2" level="info"/> |
|
|
|
<Logger name="com.github.joschi.jadconfig" level="warn"/> |
|
|
|
<Logger name="com.github.joschi.jadconfig" level="warn"/> |
|
|
|
<!-- This emits a harmless warning for ActiveDirectory every time which we can't work around :( --> |
|
|
|
|
|
|
|
<Logger name="org.apache.directory.api.ldap.model.message.BindRequestImpl" level="error"/> |
|
|
|
|
|
|
|
<!-- Prevent DEBUG message about Lucene Expressions not found. --> |
|
|
|
<!-- Prevent DEBUG message about Lucene Expressions not found. --> |
|
|
|
<Logger name="org.elasticsearch.script" level="warn"/> |
|
|
|
<Logger name="org.elasticsearch.script" level="warn"/> |
|
|
|
<!-- Disable messages from the version check --> |
|
|
|
<!-- Disable messages from the version check --> |
|
|
@ -21,10 +25,11 @@ |
|
|
|
<!-- Silence Kafka log chatter --> |
|
|
|
<!-- Silence Kafka log chatter --> |
|
|
|
<Logger name="kafka.log.Log" level="warn"/> |
|
|
|
<Logger name="kafka.log.Log" level="warn"/> |
|
|
|
<Logger name="kafka.log.OffsetIndex" level="warn"/> |
|
|
|
<Logger name="kafka.log.OffsetIndex" level="warn"/> |
|
|
|
|
|
|
|
<Logger name="org.apache.kafka.clients.consumer.ConsumerConfig" level="warn"/> |
|
|
|
<!-- Silence useless session validation messages --> |
|
|
|
<!-- Silence useless session validation messages --> |
|
|
|
<Logger name="org.apache.shiro.session.mgt.AbstractValidatingSessionManager" level="warn"/> |
|
|
|
<Logger name="org.apache.shiro.session.mgt.AbstractValidatingSessionManager" level="warn"/> |
|
|
|
<Root level="warn"> |
|
|
|
<Root level="warn"> |
|
|
|
<AppenderRef ref="journal"/> |
|
|
|
<AppenderRef ref="rolling-file"/> |
|
|
|
<AppenderRef ref="graylog-internal-logs"/> |
|
|
|
<AppenderRef ref="graylog-internal-logs"/> |
|
|
|
</Root> |
|
|
|
</Root> |
|
|
|
</Loggers> |
|
|
|
</Loggers> |
|
|
|