Package io.quarkus.runtime.logging
Class FileConfig
- java.lang.Object
-
- io.quarkus.runtime.logging.FileConfig
-
public class FileConfig extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FileConfig.RotationConfig
-
Field Summary
Fields Modifier and Type Field Description (package private) AsyncConfig
async
File async logging configstatic String
DEFAULT_LOG_FILE_NAME
Default file name where logs should be stored.(package private) boolean
enable
If file logging should be enabled(package private) String
format
The log format(package private) Level
level
The level of logs to be written into the file.(package private) File
path
The name of the file in which logs will be written.(package private) FileConfig.RotationConfig
rotation
File rotation config.
-
Constructor Summary
Constructors Constructor Description FileConfig()
-
-
-
Field Detail
-
DEFAULT_LOG_FILE_NAME
public static final String DEFAULT_LOG_FILE_NAME
Default file name where logs should be stored.- See Also:
- Constant Field Values
-
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
@ConfigItem(defaultValue="ALL") Level 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.
-
async
AsyncConfig async
File async logging config
-
rotation
FileConfig.RotationConfig rotation
File rotation config. The time interval is determined by the content of thefileSuffix
property. The size interval is determined by the content of themaxFileSize
property. If both are used, the rotating will be based on time then size.
-
-