Modifier and Type | Method and Description |
---|---|
GelfLogDriver.Builder |
GelfLogDriver.Builder.address(String address)
The address of the GELF server.
|
GelfLogDriver.Builder |
GelfLogDriver.Builder.compressionLevel(Number compressionLevel)
UDP Only The level of compression when gzip or zlib is the gelf-compression-type.
|
GelfLogDriver.Builder |
GelfLogDriver.Builder.compressionType(GelfCompressionType compressionType)
UDP Only The type of compression the GELF driver uses to compress each log message.
|
static GelfLogDriver.Builder |
GelfLogDriver.Builder.create() |
GelfLogDriver.Builder |
GelfLogDriver.Builder.env(List<String> env)
The env option takes an array of keys.
|
GelfLogDriver.Builder |
GelfLogDriver.Builder.envRegex(String envRegex)
The env-regex option is similar to and compatible with env.
|
GelfLogDriver.Builder |
GelfLogDriver.Builder.labels(List<String> labels)
The labels option takes an array of keys.
|
GelfLogDriver.Builder |
GelfLogDriver.Builder.tag(String tag)
By default, Docker uses the first 12 characters of the container ID to tag log messages.
|
GelfLogDriver.Builder |
GelfLogDriver.Builder.tcpMaxReconnect(Number tcpMaxReconnect)
TCP Only The maximum number of reconnection attempts when the connection drop.
|
GelfLogDriver.Builder |
GelfLogDriver.Builder.tcpReconnectDelay(Duration tcpReconnectDelay)
TCP Only The number of seconds to wait between reconnection attempts.
|
Copyright © 2020. All rights reserved.