Interface LogRuntimeConfig.FileConfig

Enclosing interface:
LogRuntimeConfig

public static interface LogRuntimeConfig.FileConfig
  • Field Details

    • DEFAULT_LOG_FILE_NAME

      static final String DEFAULT_LOG_FILE_NAME
      Default file name where logs should be stored.
      See Also:
  • Method Details

    • enable

      @WithDefault("false") boolean enable()
      If file logging should be enabled
    • format

      @WithDefault("%d{yyyy-MM-dd HH:mm:ss,SSS} %h %N[%i] %-5p [%c{3.}] (%t) %s%e%n") String format()
      The log format
    • level

      @WithDefault("ALL") @WithConverter(LevelConverter.class) @WithConverter(LevelConverter.class) Level level()
      The level of logs to be written into the file.
    • path

      @WithDefault("quarkus.log") File path()
      The name of the file in which logs will be written.
    • filter

      Optional<String> filter()
      The name of the filter to link to the file handler.
    • encoding

      Optional<@WithConverter(CharsetConverter.class) Charset> encoding()
      The character encoding used
    • async

      File async logging config
    • rotation

      File rotation config. The time interval is determined by the content of the fileSuffix property. The size interval is determined by the content of the maxFileSize property. If both are used, the rotating will be based on time, then on size.