LogsConfig
final case class LogsConfig(successEnabled: Option[Boolean], errorEnabled: Option[Boolean], slow: Option[SlowConfig], maxQueryLength: Option[Int], showValues: Option[Boolean], maxValueLength: Option[Int], maxValues: Option[Int], showStackTraces: Option[Boolean])
Parameters for RequestLogger.
- Value parameters:
- errorEnabled
Whether to log failed requests.
- maxQueryLength
The maximum length of the query string in the log message. If it is longer than that, it will be truncated.
- maxValueLength
The maximum length for bound values in the log message. If the formatted representation of a value is longer than that, it will be truncated.
- maxValues
The maximum number of bound values to log. If a request has more values, the list of values will be truncated.
- showStackTraces
Whether to log stack traces for failed queries. If this is disabled, the log will just include the exception's string representation (generally the class name and message).
- showValues
Whether to log bound values in addition to the query string.
- slow
Slow requests logging.
- successEnabled
Whether to log successful requests.
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any