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) AsyncConfig
Syslog async logging config(package private) boolean
Enables or disables blocking when attempting to reconnect aTCP
orSSL TCP
protocol(package private) boolean
If syslog logging should be enabled(package private) InetSocketAddress
The IP address and port of the Syslog server(package private) org.jboss.logmanager.handlers.SyslogHandler.Facility
Sets 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) String
The log message formatThe name of the host the messages are being sent from(package private) Level
The log level specifying what message levels will be logged by the Syslog logger(package private) org.jboss.logmanager.handlers.SyslogHandler.Protocol
Sets the protocol used to connect to the Syslog server(package private) org.jboss.logmanager.handlers.SyslogHandler.SyslogType
Set thesyslog type
this handler should use to format the message sent(package private) boolean
Set totrue
to truncate the message if it exceeds maximum length(package private) boolean
If 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 type
this 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 totrue
to truncate the message if it exceeds maximum length -
blockOnReconnect
Enables or disables blocking when attempting to reconnect aTCP
orSSL TCP
protocol -
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. -
async
AsyncConfig asyncSyslog async logging config
-
-
Constructor Details
-
SyslogConfig
public SyslogConfig()
-