Package io.quarkus.runtime.logging
Interface LogRuntimeConfig.SocketConfig
- Enclosing interface:
- LogRuntimeConfig
public static interface LogRuntimeConfig.SocketConfig
-
Method Summary
Modifier and TypeMethodDescriptionasync()
Socket async logging configboolean
Enables or disables blocking when attempting to reconnect aTCP
orSSL TCP
protocolboolean
enable()
If socket logging should be enabled@WithConverter(InetSocketAddressConverter.class) InetSocketAddress
endpoint()
The IP address and port of the server receiving the logsfilter()
The name of the filter to link to the file handler.format()
The log message formatlevel()
The log level specifying, which message levels will be logged by socket loggerorg.jboss.logmanager.handlers.SocketHandler.Protocol
protocol()
Sets the protocol used to connect to the syslog server
-
Method Details
-
enable
@WithDefault("false") boolean enable()If socket logging should be enabled -
endpoint
@WithDefault("localhost:4560") @WithConverter(InetSocketAddressConverter.class) @WithConverter(InetSocketAddressConverter.class) InetSocketAddress endpoint()The IP address and port of the server receiving the logs -
protocol
@WithDefault("tcp") org.jboss.logmanager.handlers.SocketHandler.Protocol protocol()Sets the protocol used to connect to the syslog server -
blockOnReconnect
@WithDefault("false") boolean blockOnReconnect()Enables or disables blocking when attempting to reconnect aTCP
orSSL TCP
protocol -
format
The log message format -
level
The log level specifying, which message levels will be logged by socket logger -
filter
The name of the filter to link to the file handler. -
async
LogRuntimeConfig.AsyncConfig async()Socket async logging config
-