Interface LogRuntimeConfig.SocketConfig

Enclosing interface:
LogRuntimeConfig

public static interface LogRuntimeConfig.SocketConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    Socket async logging config
    boolean
    Enables or disables blocking when attempting to reconnect a TCP or SSL TCP protocol
    Deprecated, for removal: This API element is subject to removal in a future version.
    use quarkus.log.socket.enabled instead
    boolean
    If socket logging should be enabled
    The IP address and port of the server receiving the logs
    The name of the filter to link to the file handler.
    The log message format
    The log level specifying, which message levels will be logged by socket logger
    org.jboss.logmanager.handlers.SocketHandler.Protocol
    Sets the protocol used to connect to the syslog server
  • Method Details

    • enabled

      @WithDefault("false") boolean enabled()
      If socket logging should be enabled
    • enable

      @Deprecated(since="3.26", forRemoval=true) Optional<Boolean> enable()
      Deprecated, for removal: This API element is subject to removal in a future version.
      use quarkus.log.socket.enabled instead
      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 a TCP or SSL TCP protocol
    • format

      @WithDefault("%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p [%c{3.}] (%t) %s%e%n") String format()
      The log message format
    • level

      @WithDefault("ALL") Level level()
      The log level specifying, which message levels will be logged by socket logger
    • filter

      Optional<String> filter()
      The name of the filter to link to the file handler.
    • async

      Socket async logging config