Annotation Type LoggingDecorator

    • Element Detail

      • requestLogLevel

        LogLevel requestLogLevel
        The LogLevel to use when logging requests. If unset, will use LogLevel.TRACE.
        Default:
        com.linecorp.armeria.common.logging.LogLevel.TRACE
      • successfulResponseLogLevel

        LogLevel successfulResponseLogLevel
        The LogLevel to use when logging successful responses (e.g., no unhandled exception). If unset, will use LogLevel.TRACE.
        Default:
        com.linecorp.armeria.common.logging.LogLevel.TRACE
      • failureResponseLogLevel

        LogLevel failureResponseLogLevel
        The LogLevel to use when logging failure responses (e.g., failed with an exception). If unset, will use LogLevel.WARN.
        Default:
        com.linecorp.armeria.common.logging.LogLevel.WARN
      • samplingRate

        float samplingRate
        The rate at which to sample requests to log. Any number between 0.0 and 1.0 will cause a random sample of the requests to be logged. The random sampling is appropriate for low-traffic (ex servers that each receive <100K requests). If unset, all requests will be logged.
        Default:
        1.0f
      • order

        int order
        The order of decoration, where a Decorator of lower value will be applied first.
        Default:
        0