Package io.quarkus.runtime.logging
Class FileConfig
java.lang.Object
io.quarkus.runtime.logging.FileConfig
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(package private) AsyncConfigFile async logging configstatic final StringDefault file name where logs should be stored.(package private) booleanIf file logging should be enabledThe character encoding usedThe name of the filter to link to the file handler.(package private) StringThe log format(package private) LevelThe level of logs to be written into the file.(package private) FileThe name of the file in which logs will be written.(package private) FileConfig.RotationConfigFile rotation config. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DEFAULT_LOG_FILE_NAME
Default file name where logs should be stored.- See Also:
-
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 formatThe log format -
level
The level of logs to be written into the 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
AsyncConfig asyncFile async logging config -
rotation
FileConfig.RotationConfig rotationFile rotation config. The time interval is determined by the content of thefileSuffixproperty. The size interval is determined by the content of themaxFileSizeproperty. If both are used, the rotating will be based on time, then on size.
-
-
Constructor Details
-
FileConfig
public FileConfig()
-