Class GelfConfig

    • Field Detail

      • enabled

        @ConfigItem
        public boolean enabled
        Determine whether to enable the GELF logging handler
      • host

        @ConfigItem(defaultValue="localhost")
        public String host
        Hostname/IP-Address of the Logstash/Graylog Host By default it uses UDP, prepend tcp: to the hostname to switch to TCP, example: "tcp:localhost"
      • stackTraceThrowableReference

        @ConfigItem
        public int stackTraceThrowableReference
        Only used when `extractStackTrace` is `true`. A value of 0 will extract the whole stack trace. Any positive value will walk the cause chain: 1 corresponds with exception.getCause(), 2 with exception.getCause().getCause(), ... Negative throwable reference walk the exception chain from the root cause side: -1 will extract the root cause, -2 the exception wrapping the root cause, ...
      • filterStackTrace

        @ConfigItem
        public boolean filterStackTrace
        Whether to perform Stack-Trace filtering
      • includeFullMdc

        @ConfigItem
        public boolean includeFullMdc
        Whether to include all fields from the MDC.
      • maximumMessageSize

        @ConfigItem(defaultValue="8192")
        public int maximumMessageSize
        Maximum message size (in bytes). If the message size is exceeded, the appender will submit the message in multiple chunks.
      • includeLogMessageParameters

        @ConfigItem(defaultValue="true")
        public boolean includeLogMessageParameters
        Include message parameters from the log event
    • Constructor Detail

      • GelfConfig

        public GelfConfig()