Class FileConfig

java.lang.Object
io.quarkus.runtime.logging.FileConfig

public class FileConfig extends Object
  • Field Details

    • DEFAULT_LOG_FILE_NAME

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

      @ConfigItem boolean enable
      If file logging should be enabled
    • format

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

      The level of logs to be written into the file.
    • path

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

      The name of the filter to link to the file handler.
    • 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.
  • Constructor Details

    • FileConfig

      public FileConfig()