public class FileConfig extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FileConfig.RotationConfig |
Modifier and Type | Field and Description |
---|---|
(package private) AsyncConfig |
async
File async logging config
|
static 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 and Description |
---|
FileConfig() |
public static final String DEFAULT_LOG_FILE_NAME
@ConfigItem boolean enable
@ConfigItem(defaultValue="%d{yyyy-MM-dd HH:mm:ss,SSS} %h %N[%i] %-5p [%c{3.}] (%t) %s%e%n") String format
@ConfigItem(defaultValue="ALL") Level level
@ConfigItem(defaultValue="quarkus.log") File path
AsyncConfig async
FileConfig.RotationConfig rotation
Copyright © 2019 JBoss by Red Hat. All rights reserved.