Class FileConfig.RotationConfig

  • Enclosing class:
    FileConfig

    public static class FileConfig.RotationConfig
    extends Object
    • Field Detail

      • fileSuffix

        @ConfigItem
        Optional<String> fileSuffix
        File handler rotation file suffix. When used, the file will be rotated based on its suffix. Example fileSuffix: .yyyy-MM-dd
      • rotateOnBoot

        @ConfigItem(defaultValue="true")
        boolean rotateOnBoot
        Indicates whether to rotate log files on server initialization.

        You need to either set a max-file-size or configure a file-suffix for it to work.

    • Constructor Detail

      • RotationConfig

        public RotationConfig()