All Downloads are FREE. Search and download functionalities are using the official Maven repository.

graylog2-server.5.2.11.source-code.log4j2.xml Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<Configuration packages="org.graylog2.log4j" shutdownHook="disable">
    <Appenders>
        <Console name="STDOUT" target="SYSTEM_OUT">
            <PatternLayout pattern="%d %-5p: %c - %m%n"/>
        </Console>

        <!-- Internal Graylog log appender. Please do not disable. This makes internal log messages available via REST calls. -->
        <Memory name="graylog-internal-logs" bufferSizeBytes="10MB">
            <PatternLayout pattern="%d{yyyy-MM-dd'T'HH:mm:ss.SSSXXX} %-5p [%c{1}] %m%n"/>
        </Memory>

    </Appenders>
    <Loggers>
        <!-- Application Loggers -->
        <Logger name="org.graylog2" level="info"/>
        <Logger name="com.github.joschi.jadconfig" level="warn"/>
        <!-- Prevent DEBUG message about Lucene Expressions not found. -->
        <Logger name="org.elasticsearch.script" level="warn"/>
        <!-- Disable messages from the version check -->
        <Logger name="org.graylog2.periodical.VersionCheckThread" level="off"/>
        <!-- Silence chatty natty -->
        <Logger name="com.joestelmach.natty.Parser" level="warn"/>
        <!-- Silence Kafka log chatter -->
        <Logger name="org.graylog.shaded.kafka09.log.Log" level="warn"/>
        <Logger name="org.graylog.shaded.kafka09.log.OffsetIndex" level="warn"/>
        <Logger name="org.apache.kafka.clients.consumer.ConsumerConfig" level="warn"/>
        <Logger name="org.apache.kafka.clients.producer.ProducerConfig" level="warn"/>
        <!-- Silence useless session validation messages -->
        <Logger name="org.apache.shiro.session.mgt.AbstractValidatingSessionManager" level="warn"/>
        <!-- Silence Azure SDK messages -->
        <Logger name="com.azure" level="warn"/>
        <Logger name="reactor.core.publisher.Operators" level="off"/>
        <Logger name="com.azure.messaging.eventhubs.PartitionPumpManager" level="off"/>
        <Logger name="com.azure.core.amqp.implementation.ReactorReceiver" level="off"/>
        <Logger name="com.azure.core.amqp.implementation.ReactorDispatcher" level="off"/>
        <!-- Silence Apache Hadoop/Avro log chatter -->
        <Logger name="org.apache.hadoop" level="warn"/>
        <Logger name="org.apache.parquet.hadoop.InternalParquetRecordReader" level="warn"/>
        <Logger name="org.apache.avro.Schema" level="error"/>
        <Root level="info">
            <AppenderRef ref="STDOUT"/>
            <AppenderRef ref="graylog-internal-logs"/>
        </Root>
    </Loggers>
</Configuration>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy