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 classFileConfig.RotationConfig
-
Field Summary
Fields Modifier and Type Field Description (package private) AsyncConfigasyncFile async logging configstatic StringDEFAULT_LOG_FILE_NAMEDefault file name where logs should be stored.(package private) booleanenableIf file logging should be enabled(package private) StringformatThe log format(package private) LevellevelThe level of logs to be written into the file.(package private) FilepathThe name of the file in which logs will be written.(package private) FileConfig.RotationConfigrotationFile 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
-
-