Package io.quarkus.runtime.logging
Class SyslogConfig
java.lang.Object
io.quarkus.runtime.logging.SyslogConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe app name used when formatting the message in RFC5424 format(package private) AsyncConfigSyslog async logging config(package private) booleanEnables or disables blocking when attempting to reconnect aTCPorSSL TCPprotocol(package private) booleanIf syslog logging should be enabled(package private) InetSocketAddressThe IP address and port of the Syslog server(package private) org.jboss.logmanager.handlers.SyslogHandler.FacilitySets the facility used when calculating the priority of the message as defined by RFC-5424 and RFC-3164The name of the filter to link to the file handler.(package private) StringThe log message formatThe name of the host the messages are being sent from(package private) LevelThe log level specifying what message levels will be logged by the Syslog logger(package private) Optional<MemorySize>The maximum length, in bytes, of the message allowed to be sent.(package private) org.jboss.logmanager.handlers.SyslogHandler.ProtocolSets the protocol used to connect to the Syslog server(package private) org.jboss.logmanager.handlers.SyslogHandler.SyslogTypeSet thesyslog typethis handler should use to format the message sent(package private) booleanSet totrueto truncate the message if it exceeds maximum length(package private) booleanIf enabled, the message being sent is prefixed with the size of the message -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
enable
If syslog logging should be enabled -
endpoint
The IP address and port of the Syslog server -
appName
The app name used when formatting the message in RFC5424 format -
hostname
The name of the host the messages are being sent from -
facility
@ConfigItem(defaultValue="user-level") org.jboss.logmanager.handlers.SyslogHandler.Facility facilitySets the facility used when calculating the priority of the message as defined by RFC-5424 and RFC-3164 -
syslogType
@ConfigItem(defaultValue="rfc5424") org.jboss.logmanager.handlers.SyslogHandler.SyslogType syslogTypeSet thesyslog typethis handler should use to format the message sent -
protocol
Sets the protocol used to connect to the Syslog server -
useCountingFraming
If enabled, the message being sent is prefixed with the size of the message -
truncate
Set totrueto truncate the message if it exceeds maximum length -
blockOnReconnect
Enables or disables blocking when attempting to reconnect aTCPorSSL TCPprotocol -
format
The log message format -
level
The log level specifying what message levels will be logged by the Syslog logger -
filter
The name of the filter to link to the file handler. -
maxLength
The maximum length, in bytes, of the message allowed to be sent. The length includes the header and the message.If not set, the default value is
2048whensys-log-typeisrfc5424(which is the default) and1024whensys-log-typeisrfc3164 -
async
AsyncConfig asyncSyslog async logging config
-
-
Constructor Details
-
SyslogConfig
public SyslogConfig()
-