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) AsyncConfig
File async logging configstatic final String
Default file name where logs should be stored.(package private) boolean
If file logging should be enabledThe character encoding usedThe name of the filter to link to the file handler.(package private) String
The log format(package private) Level
The level of logs to be written into the file.(package private) File
The name of the file in which logs will be written.(package private) FileConfig.RotationConfig
File 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 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 on size.
-
-
Constructor Details
-
FileConfig
public FileConfig()
-