Package io.quarkus.vertx.http.runtime
Class AccessLogConfig
java.lang.Object
io.quarkus.vertx.http.runtime.AccessLogConfig
-
Field Summary
Modifier and TypeFieldDescriptionThe access log file base name, defaults to 'quarkus' which will give a log file name of 'quarkus.log'.The log category to use if logging is being done via the standard log mechanism (i.e.boolean
If access logging is enabled.A regular expression that can be used to exclude some paths from logging.The log directory to use when logging access to a file If this is not set then the current working directory is used.The log file suffixboolean
If logging should be done to a separate file.The access log pattern.boolean
If the log should be rotated daily -
Constructor Summary
-
Method Summary
-
Field Details
-
enabled
If access logging is enabled. By default this will log via the standard logging facility -
excludePattern
A regular expression that can be used to exclude some paths from logging. -
pattern
The access log pattern. If this is the string `common`, `combined` or `long` then this will use one of the specified named formats: - common: `%h %l %u %t "%r" %s %b` - combined: `%h %l %u %t "%r" %s %b "%{i,Referer}" "%{i,User-Agent}"` - long: `%r\n%{ALL_REQUEST_HEADERS}` Otherwise, consult the Quarkus documentation for the full list of variables that can be used. -
logToFile
If logging should be done to a separate file. -
baseFileName
The access log file base name, defaults to 'quarkus' which will give a log file name of 'quarkus.log'. -
logDirectory
The log directory to use when logging access to a file If this is not set then the current working directory is used. -
logSuffix
The log file suffix -
category
The log category to use if logging is being done via the standard log mechanism (i.e. if base-file-name is empty). -
rotate
If the log should be rotated daily
-
-
Constructor Details
-
AccessLogConfig
public AccessLogConfig()
-