Deprecate GELF (#27367)

Closes #27364

Signed-off-by: Václav Muzikář <vmuzikar@redhat.com>
This commit is contained in:
Václav Muzikář 2024-02-29 12:07:28 +01:00 committed by GitHub
parent fcb0cabb89
commit 3e3cb2222d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 399 additions and 301 deletions

View file

@ -434,4 +434,12 @@ Instead of specifying hardcoded values for the initial and maximum heap size, {p
The JVM options `-Xms`, and `-Xmx` were replaced by `-XX:InitialRAMPercentage`, and `-XX:MaxRAMPercentage`. The JVM options `-Xms`, and `-Xmx` were replaced by `-XX:InitialRAMPercentage`, and `-XX:MaxRAMPercentage`.
For more details, see the For more details, see the
https://www.keycloak.org/server/containers[Running Keycloak in a container] guide. https://www.keycloak.org/server/containers[Running Keycloak in a container] guide.
ifeval::[{project_community}==true]
= GELF log handler has been deprecated
With sunsetting of the https://github.com/mp911de/logstash-gelf[underlying library] providing integration
with GELF, Keycloak will no longer support the GELF log handler out-of-the-box. This feature will be removed in a future
release. If you require an external log management, consider using file log parsing.
endif::[]

View file

@ -481,4 +481,12 @@ For custom extensions there may be some changes needed:
= Internal algorithm changed from HS256 to HS512 = Internal algorithm changed from HS256 to HS512
The algorithm that {project_name} uses to sign internal tokens (a JWT which is consumed by {project_name} itself, for example a refresh or action token) is being changed from `HS256` to the more secure `HS512`. A new key provider named `hmac-generated-hs512` is now added for realms. Note that in migrated realms the old `hmac-generated` provider and the old `HS256` key are maintained and still validate tokens issued before the upgrade. The `HS256` provider can be manually deleted when no more old tokens exist following the {adminguide_link}#rotating-keys[rotating keys guidelines]. The algorithm that {project_name} uses to sign internal tokens (a JWT which is consumed by {project_name} itself, for example a refresh or action token) is being changed from `HS256` to the more secure `HS512`. A new key provider named `hmac-generated-hs512` is now added for realms. Note that in migrated realms the old `hmac-generated` provider and the old `HS256` key are maintained and still validate tokens issued before the upgrade. The `HS256` provider can be manually deleted when no more old tokens exist following the {adminguide_link}#rotating-keys[rotating keys guidelines].
ifeval::[{project_community}==true]
= GELF log handler has been deprecated
With sunsetting of the https://github.com/mp911de/logstash-gelf[underlying library] providing integration
with GELF, Keycloak will no longer support the GELF log handler out-of-the-box. This feature will be removed in a future
release. If you require an external log management, consider using file log parsing.
endif::[]

View file

@ -6,7 +6,7 @@
<@tmpl.guide <@tmpl.guide
title="Configuring logging" title="Configuring logging"
summary="Learn how to configure Logging" summary="Learn how to configure Logging"
includedOptions="log-*"> includedOptions="log log-*">
{project_name} uses the JBoss Logging framework. The following is a high-level overview for the available log handlers: {project_name} uses the JBoss Logging framework. The following is a high-level overview for the available log handlers:
@ -191,6 +191,8 @@ See <<Configuring the console log format>> for more information and a table of t
<@profile.ifCommunity> <@profile.ifCommunity>
== Centralized logging using GELF == Centralized logging using GELF
NOTE: The support for GELF log handler is deprecated and will be removed in a future {project_name} release.
{project_name} can send logs to a centralized log management system such as the following: {project_name} can send logs to a centralized log management system such as the following:
* Graylog * Graylog

View file

@ -24,8 +24,14 @@
-- --
<#if option.deprecated?has_content> <#if option.deprecated?has_content>
<#-- Either mark the whole option as deprecated, or just selected values -->
<#if !option.deprecated.deprecatedValues?has_content>
*DEPRECATED.* *DEPRECATED.*
</#if>
${option.deprecated.note!}<#if option.deprecated.newOptionsKeys?has_content><#if option.deprecated.note?has_content> </#if>Use: <#list option.deprecated.newOptionsKeys as key>`+${key}+`<#if key?has_next>, </#if></#list>.</#if> ${option.deprecated.note!}<#if option.deprecated.newOptionsKeys?has_content><#if option.deprecated.note?has_content> </#if>Use: <#list option.deprecated.newOptionsKeys as key>`+${key}+`<#if key?has_next>, </#if></#list>.</#if>
<#if option.deprecated.deprecatedValues?has_content>
*Deprecated values: <#list option.deprecated.deprecatedValues as value>`+${value}+`<#if value?has_next>, </#if></#list>*
</#if>
</#if> </#if>
|<#if option.expectedValues?has_content> |<#if option.expectedValues?has_content>

View file

@ -18,7 +18,6 @@
package org.keycloak.config; package org.keycloak.config;
import java.util.Collections; import java.util.Collections;
import java.util.List;
import java.util.Set; import java.util.Set;
/** /**
@ -27,15 +26,20 @@ import java.util.Set;
public class DeprecatedMetadata { public class DeprecatedMetadata {
private final Set<String> newOptionsKeys; private final Set<String> newOptionsKeys;
private final String note; private final String note;
private final Set<String> deprecatedValues;
public DeprecatedMetadata() { private DeprecatedMetadata(Set<String> newOptionsKeys, String note, Set<String> deprecatedValues) {
newOptionsKeys = Collections.emptySet();
note = null;
}
public DeprecatedMetadata(Set<String> newOptionsKeys, String note) {
this.newOptionsKeys = newOptionsKeys == null ? Collections.emptySet() : Collections.unmodifiableSet(newOptionsKeys); this.newOptionsKeys = newOptionsKeys == null ? Collections.emptySet() : Collections.unmodifiableSet(newOptionsKeys);
this.note = note; this.note = note;
this.deprecatedValues = deprecatedValues == null ? Collections.emptySet() : Collections.unmodifiableSet(deprecatedValues);
}
public static DeprecatedMetadata deprecateOption(String note, Set<String> newOptionsKeys) {
return new DeprecatedMetadata(newOptionsKeys, note, null);
}
public static DeprecatedMetadata deprecateValues(Set<String> values, String note) {
return new DeprecatedMetadata(null, note, values);
} }
public Set<String> getNewOptionsKeys() { public Set<String> getNewOptionsKeys() {
@ -45,4 +49,8 @@ public class DeprecatedMetadata {
public String getNote() { public String getNote() {
return note; return note;
} }
public Set<String> getDeprecatedValues() {
return deprecatedValues;
}
} }

View file

@ -4,6 +4,7 @@ import java.io.File;
import java.util.Arrays; import java.util.Arrays;
import java.util.List; import java.util.List;
import java.util.Locale; import java.util.Locale;
import java.util.Set;
import java.util.function.Predicate; import java.util.function.Predicate;
public class LoggingOptions { public class LoggingOptions {
@ -30,12 +31,21 @@ public class LoggingOptions {
.toList(); .toList();
} }
public static final Option<List<Handler>> LOG = OptionBuilder.listOptionBuilder("log", Handler.class) private static Option<List<Handler>> createLogOption() {
.category(OptionCategory.LOGGING) OptionBuilder<List<Handler>> logOptionBuilder = OptionBuilder.listOptionBuilder("log", Handler.class)
.description("Enable one or more log handlers in a comma-separated list.") .category(OptionCategory.LOGGING)
.expectedValues(getAvailableHandlerNames()) .description("Enable one or more log handlers in a comma-separated list.")
.defaultValue(Arrays.asList(DEFAULT_LOG_HANDLER)) .expectedValues(getAvailableHandlerNames())
.build(); .defaultValue(Arrays.asList(DEFAULT_LOG_HANDLER));
if (GELF_ACTIVATED) {
logOptionBuilder.deprecatedValues(Set.of("gelf"), "GELF log handler has been deprecated.");
}
return logOptionBuilder.build();
}
public static final Option<List<Handler>> LOG = createLogOption();
public enum Level { public enum Level {
OFF, OFF,
@ -124,17 +134,20 @@ public class LoggingOptions {
.category(OptionCategory.LOGGING) .category(OptionCategory.LOGGING)
.defaultValue("INFO") .defaultValue("INFO")
.description("The log level specifying which message levels will be logged by the GELF logger. Message levels lower than this value will be discarded.") .description("The log level specifying which message levels will be logged by the GELF logger. Message levels lower than this value will be discarded.")
.deprecated()
.build(); .build();
public static final Option<String> LOG_GELF_HOST = new OptionBuilder<>("log-gelf-host", String.class) public static final Option<String> LOG_GELF_HOST = new OptionBuilder<>("log-gelf-host", String.class)
.category(OptionCategory.LOGGING) .category(OptionCategory.LOGGING)
.description("Hostname of the Logstash or Graylog Host. By default UDP is used, prefix the host with 'tcp:' to switch to TCP. Example: 'tcp:localhost'") .description("Hostname of the Logstash or Graylog Host. By default UDP is used, prefix the host with 'tcp:' to switch to TCP. Example: 'tcp:localhost'")
.defaultValue("localhost") .defaultValue("localhost")
.deprecated()
.build(); .build();
public static final Option<Integer> LOG_GELF_PORT = new OptionBuilder<>("log-gelf-port", Integer.class) public static final Option<Integer> LOG_GELF_PORT = new OptionBuilder<>("log-gelf-port", Integer.class)
.category(OptionCategory.LOGGING) .category(OptionCategory.LOGGING)
.description("The port the Logstash or Graylog Host is called on.") .description("The port the Logstash or Graylog Host is called on.")
.deprecated()
.defaultValue(12201) .defaultValue(12201)
.build(); .build();
@ -150,36 +163,42 @@ public class LoggingOptions {
.category(OptionCategory.LOGGING) .category(OptionCategory.LOGGING)
.description("If set to true, occuring stack traces are included in the 'StackTrace' field in the GELF output.") .description("If set to true, occuring stack traces are included in the 'StackTrace' field in the GELF output.")
.defaultValue(Boolean.TRUE) .defaultValue(Boolean.TRUE)
.deprecated()
.build(); .build();
public static final Option<String> LOG_GELF_TIMESTAMP_FORMAT = new OptionBuilder<>("log-gelf-timestamp-format", String.class) public static final Option<String> LOG_GELF_TIMESTAMP_FORMAT = new OptionBuilder<>("log-gelf-timestamp-format", String.class)
.category(OptionCategory.LOGGING) .category(OptionCategory.LOGGING)
.description("Set the format for the GELF timestamp field. Uses Java SimpleDateFormat pattern.") .description("Set the format for the GELF timestamp field. Uses Java SimpleDateFormat pattern.")
.defaultValue("yyyy-MM-dd HH:mm:ss,SSS") .defaultValue("yyyy-MM-dd HH:mm:ss,SSS")
.deprecated()
.build(); .build();
public static final Option<String> LOG_GELF_FACILITY = new OptionBuilder<>("log-gelf-facility", String.class) public static final Option<String> LOG_GELF_FACILITY = new OptionBuilder<>("log-gelf-facility", String.class)
.category(OptionCategory.LOGGING) .category(OptionCategory.LOGGING)
.description("The facility (name of the process) that sends the message.") .description("The facility (name of the process) that sends the message.")
.defaultValue("keycloak") .defaultValue("keycloak")
.deprecated()
.build(); .build();
public static final Option<Integer> LOG_GELF_MAX_MSG_SIZE = new OptionBuilder<>("log-gelf-max-message-size", Integer.class) public static final Option<Integer> LOG_GELF_MAX_MSG_SIZE = new OptionBuilder<>("log-gelf-max-message-size", Integer.class)
.category(OptionCategory.LOGGING) .category(OptionCategory.LOGGING)
.description("Maximum message size (in bytes). If the message size is exceeded, GELF will submit the message in multiple chunks.") .description("Maximum message size (in bytes). If the message size is exceeded, GELF will submit the message in multiple chunks.")
.defaultValue(8192) .defaultValue(8192)
.deprecated()
.build(); .build();
public static final Option<Boolean> LOG_GELF_INCLUDE_LOG_MSG_PARAMS = new OptionBuilder<>("log-gelf-include-message-parameters", Boolean.class) public static final Option<Boolean> LOG_GELF_INCLUDE_LOG_MSG_PARAMS = new OptionBuilder<>("log-gelf-include-message-parameters", Boolean.class)
.category(OptionCategory.LOGGING) .category(OptionCategory.LOGGING)
.description("Include message parameters from the log event.") .description("Include message parameters from the log event.")
.defaultValue(Boolean.TRUE) .defaultValue(Boolean.TRUE)
.deprecated()
.build(); .build();
public static final Option<Boolean> LOG_GELF_INCLUDE_LOCATION = new OptionBuilder<>("log-gelf-include-location", Boolean.class) public static final Option<Boolean> LOG_GELF_INCLUDE_LOCATION = new OptionBuilder<>("log-gelf-include-location", Boolean.class)
.category(OptionCategory.LOGGING) .category(OptionCategory.LOGGING)
.description("Include source code location.") .description("Include source code location.")
.defaultValue(Boolean.TRUE) .defaultValue(Boolean.TRUE)
.deprecated()
.build(); .build();
private static boolean isGelfActivated() { private static boolean isGelfActivated() {

View file

@ -98,22 +98,27 @@ public class OptionBuilder<T> {
} }
public OptionBuilder<T> deprecated() { public OptionBuilder<T> deprecated() {
this.deprecatedMetadata = new DeprecatedMetadata(); this.deprecatedMetadata = DeprecatedMetadata.deprecateOption(null, null);
return this; return this;
} }
public OptionBuilder<T> deprecated(String note) { public OptionBuilder<T> deprecated(String note) {
this.deprecatedMetadata = new DeprecatedMetadata(null, note); this.deprecatedMetadata = DeprecatedMetadata.deprecateOption(note, null);
return this; return this;
} }
public OptionBuilder<T> deprecated(Set<String> newOptionsKeys) { public OptionBuilder<T> deprecated(Set<String> newOptionsKeys) {
this.deprecatedMetadata = new DeprecatedMetadata(newOptionsKeys, null); this.deprecatedMetadata = DeprecatedMetadata.deprecateOption(null, newOptionsKeys);
return this; return this;
} }
public OptionBuilder<T> deprecated(String note, Set<String> newOptionsKeys) { public OptionBuilder<T> deprecated(String note, Set<String> newOptionsKeys) {
this.deprecatedMetadata = new DeprecatedMetadata(newOptionsKeys, note); this.deprecatedMetadata = DeprecatedMetadata.deprecateOption(note, newOptionsKeys);
return this;
}
public OptionBuilder<T> deprecatedValues(Set<String> values, String note) {
this.deprecatedMetadata = DeprecatedMetadata.deprecateValues(values, note);
return this; return this;
} }

View file

@ -91,7 +91,7 @@ public class KeycloakMain implements QuarkusApplication {
} }
try { try {
Picocli.validateConfig(cliArgs, new Start(), new PrintWriter(System.out, true)); Picocli.validateConfig(cliArgs, new Start());
} catch (PropertyException e) { } catch (PropertyException e) {
errorHandler.error(errStream, e.getMessage(), null); errorHandler.error(errStream, e.getMessage(), null);
System.exit(ExitCode.USAGE); System.exit(ExitCode.USAGE);

View file

@ -39,6 +39,7 @@ import static picocli.CommandLine.Model.UsageMessageSpec.SECTION_KEY_COMMAND_LIS
import java.io.File; import java.io.File;
import java.io.PrintWriter; import java.io.PrintWriter;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections; import java.util.Collections;
import java.util.EnumMap; import java.util.EnumMap;
import java.util.HashMap; import java.util.HashMap;
@ -271,7 +272,7 @@ public final class Picocli {
* @param cliArgs * @param cliArgs
* @param abstractCommand * @param abstractCommand
*/ */
public static void validateConfig(List<String> cliArgs, AbstractCommand abstractCommand, PrintWriter out) { public static void validateConfig(List<String> cliArgs, AbstractCommand abstractCommand) {
IncludeOptions options = getIncludeOptions(cliArgs, abstractCommand, abstractCommand.getName()); IncludeOptions options = getIncludeOptions(cliArgs, abstractCommand, abstractCommand.getName());
if (!options.includeBuildTime && !options.includeRuntime) { if (!options.includeBuildTime && !options.includeRuntime) {
@ -289,9 +290,10 @@ public final class Picocli {
Optional.ofNullable(PropertyMappers.getBuildTimeMappers().get(category)).ifPresent(mappers::addAll); Optional.ofNullable(PropertyMappers.getBuildTimeMappers().get(category)).ifPresent(mappers::addAll);
for (PropertyMapper<?> mapper : mappers) { for (PropertyMapper<?> mapper : mappers) {
ConfigValue configValue = Configuration.getConfigValue(mapper.getFrom()); ConfigValue configValue = Configuration.getConfigValue(mapper.getFrom());
String configValueStr = configValue.getValue();
// don't consider missing or anything below standard env properties // don't consider missing or anything below standard env properties
if (configValue.getValue() == null || configValue.getConfigSourceOrdinal() < 300) { if (configValueStr == null || configValue.getConfigSourceOrdinal() < 300) {
continue; continue;
} }
@ -307,7 +309,7 @@ public final class Picocli {
mapper.validate(configValue); mapper.validate(configValue);
mapper.getDeprecatedMetadata().ifPresent(metadata -> { mapper.getDeprecatedMetadata().ifPresent(metadata -> {
handleDeprecated(deprecatedInUse, mapper, metadata); handleDeprecated(deprecatedInUse, mapper, configValueStr, metadata);
}); });
} }
} }
@ -321,15 +323,25 @@ public final class Picocli {
} }
if (!deprecatedInUse.isEmpty()) { if (!deprecatedInUse.isEmpty()) {
logger.warn("The following used options are DEPRECATED and will be removed in a future release:\n" + String.join("\n", deprecatedInUse)); logger.warn("The following used options or option values are DEPRECATED and will be removed in a future release:\n" + String.join("\n", deprecatedInUse));
} }
} finally { } finally {
PropertyMappingInterceptor.enable(); PropertyMappingInterceptor.enable();
} }
} }
private static void handleDeprecated(Set<String> deprecatedInUse, PropertyMapper<?> mapper, private static void handleDeprecated(Set<String> deprecatedInUse, PropertyMapper<?> mapper, String configValue,
DeprecatedMetadata metadata) { DeprecatedMetadata metadata) {
Set<String> deprecatedValuesInUse = new HashSet<>();
if (!metadata.getDeprecatedValues().isEmpty()) {
deprecatedValuesInUse.addAll(Arrays.asList(configValue.split(",")));
deprecatedValuesInUse.retainAll(metadata.getDeprecatedValues());
if (deprecatedValuesInUse.isEmpty()) {
return; // no deprecated values are used, don't emit any warning
}
}
String optionName = mapper.getFrom(); String optionName = mapper.getFrom();
if (optionName.startsWith(NS_KEYCLOAK_PREFIX)) { if (optionName.startsWith(NS_KEYCLOAK_PREFIX)) {
optionName = optionName.substring(NS_KEYCLOAK_PREFIX.length()); optionName = optionName.substring(NS_KEYCLOAK_PREFIX.length());
@ -337,6 +349,11 @@ public final class Picocli {
StringBuilder sb = new StringBuilder("\t- "); StringBuilder sb = new StringBuilder("\t- ");
sb.append(optionName); sb.append(optionName);
if (!deprecatedValuesInUse.isEmpty()) {
sb.append("=").append(String.join(",", deprecatedValuesInUse));
}
if (metadata.getNote() != null || !metadata.getNewOptionsKeys().isEmpty()) { if (metadata.getNote() != null || !metadata.getNewOptionsKeys().isEmpty()) {
sb.append(":"); sb.append(":");
} }
@ -636,7 +653,13 @@ public final class Picocli {
StringBuilder transformedDesc = new StringBuilder(mapper.getDescription()); StringBuilder transformedDesc = new StringBuilder(mapper.getDescription());
if (mapper.getType() != Boolean.class && !mapper.getExpectedValues().isEmpty()) { if (mapper.getType() != Boolean.class && !mapper.getExpectedValues().isEmpty()) {
transformedDesc.append(" Possible values are: " + String.join(", ", mapper.getExpectedValues()) + "."); List<String> decoratedExpectedValues = mapper.getExpectedValues().stream().map(value -> {
if (mapper.getDeprecatedMetadata().isPresent() && mapper.getDeprecatedMetadata().get().getDeprecatedValues().contains(value)) {
return value + " (deprecated)";
}
return value;
}).toList();
transformedDesc.append(" Possible values are: " + String.join(", ", decoratedExpectedValues) + ".");
} }
mapper.getDefaultValue() mapper.getDefaultValue()
@ -644,7 +667,10 @@ public final class Picocli {
.map(d -> " Default: " + d + ".") .map(d -> " Default: " + d + ".")
.ifPresent(transformedDesc::append); .ifPresent(transformedDesc::append);
mapper.getDeprecatedMetadata().ifPresent(deprecatedMetadata -> { // only fully deprecated options, not just deprecated values
mapper.getDeprecatedMetadata()
.filter(deprecatedMetadata -> deprecatedMetadata.getDeprecatedValues().isEmpty())
.ifPresent(deprecatedMetadata -> {
List<String> deprecatedDetails = new ArrayList<>(); List<String> deprecatedDetails = new ArrayList<>();
String note = deprecatedMetadata.getNote(); String note = deprecatedMetadata.getNote();
if (note != null) { if (note != null) {

View file

@ -65,7 +65,7 @@ public abstract class AbstractCommand {
} }
protected void validateConfig() { protected void validateConfig() {
Picocli.validateConfig(ConfigArgsConfigSource.getAllCliArgs(), this, spec.commandLine().getOut()); Picocli.validateConfig(ConfigArgsConfigSource.getAllCliArgs(), this);
} }
public abstract String getName(); public abstract String getName();

View file

@ -88,7 +88,7 @@ Config:
Logging: Logging:
--log <handler> Enable one or more log handlers in a comma-separated list. Possible values --log <handler> Enable one or more log handlers in a comma-separated list. Possible values
are: console, file, gelf. Default: console. are: console, file, gelf (deprecated). Default: console.
--log-console-color <true|false> --log-console-color <true|false>
Enable or disable colors when logging to console. Default: false. Enable or disable colors when logging to console. Default: false.
--log-console-format <format> --log-console-format <format>
@ -106,30 +106,31 @@ Logging:
Set the log output to JSON or default (plain) unstructured logging. Possible Set the log output to JSON or default (plain) unstructured logging. Possible
values are: default, json. Default: default. values are: default, json. Default: default.
--log-gelf-facility <name> --log-gelf-facility <name>
The facility (name of the process) that sends the message. Default: keycloak. DEPRECATED. The facility (name of the process) that sends the message.
Default: keycloak.
--log-gelf-host <hostname> --log-gelf-host <hostname>
Hostname of the Logstash or Graylog Host. By default UDP is used, prefix the DEPRECATED. Hostname of the Logstash or Graylog Host. By default UDP is used,
host with 'tcp:' to switch to TCP. Example: 'tcp:localhost' Default: prefix the host with 'tcp:' to switch to TCP. Example: 'tcp:localhost'
localhost. Default: localhost.
--log-gelf-include-location <true|false> --log-gelf-include-location <true|false>
Include source code location. Default: true. DEPRECATED. Include source code location. Default: true.
--log-gelf-include-message-parameters <true|false> --log-gelf-include-message-parameters <true|false>
Include message parameters from the log event. Default: true. DEPRECATED. Include message parameters from the log event. Default: true.
--log-gelf-include-stack-trace <true|false> --log-gelf-include-stack-trace <true|false>
If set to true, occuring stack traces are included in the 'StackTrace' field DEPRECATED. If set to true, occuring stack traces are included in the
in the GELF output. Default: true. 'StackTrace' field in the GELF output. Default: true.
--log-gelf-level <level> --log-gelf-level <level>
The log level specifying which message levels will be logged by the GELF DEPRECATED. The log level specifying which message levels will be logged by
logger. Message levels lower than this value will be discarded. Default: the GELF logger. Message levels lower than this value will be discarded.
INFO. Default: INFO.
--log-gelf-max-message-size <size> --log-gelf-max-message-size <size>
Maximum message size (in bytes). If the message size is exceeded, GELF will DEPRECATED. Maximum message size (in bytes). If the message size is exceeded,
submit the message in multiple chunks. Default: 8192. GELF will submit the message in multiple chunks. Default: 8192.
--log-gelf-port <port> --log-gelf-port <port>
The port the Logstash or Graylog Host is called on. Default: 12201. DEPRECATED. The port the Logstash or Graylog Host is called on. Default: 12201.
--log-gelf-timestamp-format <pattern> --log-gelf-timestamp-format <pattern>
Set the format for the GELF timestamp field. Uses Java SimpleDateFormat DEPRECATED. Set the format for the GELF timestamp field. Uses Java
pattern. Default: yyyy-MM-dd HH:mm:ss,SSS. SimpleDateFormat pattern. Default: yyyy-MM-dd HH:mm:ss,SSS.
--log-level <category:level> --log-level <category:level>
The log level of the root category or a comma-separated list of individual The log level of the root category or a comma-separated list of individual
categories and their levels. For the root category, you don't need to categories and their levels. For the root category, you don't need to

View file

@ -88,7 +88,7 @@ Config:
Logging: Logging:
--log <handler> Enable one or more log handlers in a comma-separated list. Possible values --log <handler> Enable one or more log handlers in a comma-separated list. Possible values
are: console, file, gelf. Default: console. are: console, file, gelf (deprecated). Default: console.
--log-console-color <true|false> --log-console-color <true|false>
Enable or disable colors when logging to console. Default: false. Enable or disable colors when logging to console. Default: false.
--log-console-format <format> --log-console-format <format>
@ -106,30 +106,31 @@ Logging:
Set the log output to JSON or default (plain) unstructured logging. Possible Set the log output to JSON or default (plain) unstructured logging. Possible
values are: default, json. Default: default. values are: default, json. Default: default.
--log-gelf-facility <name> --log-gelf-facility <name>
The facility (name of the process) that sends the message. Default: keycloak. DEPRECATED. The facility (name of the process) that sends the message.
Default: keycloak.
--log-gelf-host <hostname> --log-gelf-host <hostname>
Hostname of the Logstash or Graylog Host. By default UDP is used, prefix the DEPRECATED. Hostname of the Logstash or Graylog Host. By default UDP is used,
host with 'tcp:' to switch to TCP. Example: 'tcp:localhost' Default: prefix the host with 'tcp:' to switch to TCP. Example: 'tcp:localhost'
localhost. Default: localhost.
--log-gelf-include-location <true|false> --log-gelf-include-location <true|false>
Include source code location. Default: true. DEPRECATED. Include source code location. Default: true.
--log-gelf-include-message-parameters <true|false> --log-gelf-include-message-parameters <true|false>
Include message parameters from the log event. Default: true. DEPRECATED. Include message parameters from the log event. Default: true.
--log-gelf-include-stack-trace <true|false> --log-gelf-include-stack-trace <true|false>
If set to true, occuring stack traces are included in the 'StackTrace' field DEPRECATED. If set to true, occuring stack traces are included in the
in the GELF output. Default: true. 'StackTrace' field in the GELF output. Default: true.
--log-gelf-level <level> --log-gelf-level <level>
The log level specifying which message levels will be logged by the GELF DEPRECATED. The log level specifying which message levels will be logged by
logger. Message levels lower than this value will be discarded. Default: the GELF logger. Message levels lower than this value will be discarded.
INFO. Default: INFO.
--log-gelf-max-message-size <size> --log-gelf-max-message-size <size>
Maximum message size (in bytes). If the message size is exceeded, GELF will DEPRECATED. Maximum message size (in bytes). If the message size is exceeded,
submit the message in multiple chunks. Default: 8192. GELF will submit the message in multiple chunks. Default: 8192.
--log-gelf-port <port> --log-gelf-port <port>
The port the Logstash or Graylog Host is called on. Default: 12201. DEPRECATED. The port the Logstash or Graylog Host is called on. Default: 12201.
--log-gelf-timestamp-format <pattern> --log-gelf-timestamp-format <pattern>
Set the format for the GELF timestamp field. Uses Java SimpleDateFormat DEPRECATED. Set the format for the GELF timestamp field. Uses Java
pattern. Default: yyyy-MM-dd HH:mm:ss,SSS. SimpleDateFormat pattern. Default: yyyy-MM-dd HH:mm:ss,SSS.
--log-level <category:level> --log-level <category:level>
The log level of the root category or a comma-separated list of individual The log level of the root category or a comma-separated list of individual
categories and their levels. For the root category, you don't need to categories and their levels. For the root category, you don't need to

View file

@ -88,7 +88,7 @@ Config:
Logging: Logging:
--log <handler> Enable one or more log handlers in a comma-separated list. Possible values --log <handler> Enable one or more log handlers in a comma-separated list. Possible values
are: console, file, gelf. Default: console. are: console, file, gelf (deprecated). Default: console.
--log-console-color <true|false> --log-console-color <true|false>
Enable or disable colors when logging to console. Default: false. Enable or disable colors when logging to console. Default: false.
--log-console-format <format> --log-console-format <format>
@ -106,30 +106,31 @@ Logging:
Set the log output to JSON or default (plain) unstructured logging. Possible Set the log output to JSON or default (plain) unstructured logging. Possible
values are: default, json. Default: default. values are: default, json. Default: default.
--log-gelf-facility <name> --log-gelf-facility <name>
The facility (name of the process) that sends the message. Default: keycloak. DEPRECATED. The facility (name of the process) that sends the message.
Default: keycloak.
--log-gelf-host <hostname> --log-gelf-host <hostname>
Hostname of the Logstash or Graylog Host. By default UDP is used, prefix the DEPRECATED. Hostname of the Logstash or Graylog Host. By default UDP is used,
host with 'tcp:' to switch to TCP. Example: 'tcp:localhost' Default: prefix the host with 'tcp:' to switch to TCP. Example: 'tcp:localhost'
localhost. Default: localhost.
--log-gelf-include-location <true|false> --log-gelf-include-location <true|false>
Include source code location. Default: true. DEPRECATED. Include source code location. Default: true.
--log-gelf-include-message-parameters <true|false> --log-gelf-include-message-parameters <true|false>
Include message parameters from the log event. Default: true. DEPRECATED. Include message parameters from the log event. Default: true.
--log-gelf-include-stack-trace <true|false> --log-gelf-include-stack-trace <true|false>
If set to true, occuring stack traces are included in the 'StackTrace' field DEPRECATED. If set to true, occuring stack traces are included in the
in the GELF output. Default: true. 'StackTrace' field in the GELF output. Default: true.
--log-gelf-level <level> --log-gelf-level <level>
The log level specifying which message levels will be logged by the GELF DEPRECATED. The log level specifying which message levels will be logged by
logger. Message levels lower than this value will be discarded. Default: the GELF logger. Message levels lower than this value will be discarded.
INFO. Default: INFO.
--log-gelf-max-message-size <size> --log-gelf-max-message-size <size>
Maximum message size (in bytes). If the message size is exceeded, GELF will DEPRECATED. Maximum message size (in bytes). If the message size is exceeded,
submit the message in multiple chunks. Default: 8192. GELF will submit the message in multiple chunks. Default: 8192.
--log-gelf-port <port> --log-gelf-port <port>
The port the Logstash or Graylog Host is called on. Default: 12201. DEPRECATED. The port the Logstash or Graylog Host is called on. Default: 12201.
--log-gelf-timestamp-format <pattern> --log-gelf-timestamp-format <pattern>
Set the format for the GELF timestamp field. Uses Java SimpleDateFormat DEPRECATED. Set the format for the GELF timestamp field. Uses Java
pattern. Default: yyyy-MM-dd HH:mm:ss,SSS. SimpleDateFormat pattern. Default: yyyy-MM-dd HH:mm:ss,SSS.
--log-level <category:level> --log-level <category:level>
The log level of the root category or a comma-separated list of individual The log level of the root category or a comma-separated list of individual
categories and their levels. For the root category, you don't need to categories and their levels. For the root category, you don't need to

View file

@ -88,7 +88,7 @@ Config:
Logging: Logging:
--log <handler> Enable one or more log handlers in a comma-separated list. Possible values --log <handler> Enable one or more log handlers in a comma-separated list. Possible values
are: console, file, gelf. Default: console. are: console, file, gelf (deprecated). Default: console.
--log-console-color <true|false> --log-console-color <true|false>
Enable or disable colors when logging to console. Default: false. Enable or disable colors when logging to console. Default: false.
--log-console-format <format> --log-console-format <format>
@ -106,30 +106,31 @@ Logging:
Set the log output to JSON or default (plain) unstructured logging. Possible Set the log output to JSON or default (plain) unstructured logging. Possible
values are: default, json. Default: default. values are: default, json. Default: default.
--log-gelf-facility <name> --log-gelf-facility <name>
The facility (name of the process) that sends the message. Default: keycloak. DEPRECATED. The facility (name of the process) that sends the message.
Default: keycloak.
--log-gelf-host <hostname> --log-gelf-host <hostname>
Hostname of the Logstash or Graylog Host. By default UDP is used, prefix the DEPRECATED. Hostname of the Logstash or Graylog Host. By default UDP is used,
host with 'tcp:' to switch to TCP. Example: 'tcp:localhost' Default: prefix the host with 'tcp:' to switch to TCP. Example: 'tcp:localhost'
localhost. Default: localhost.
--log-gelf-include-location <true|false> --log-gelf-include-location <true|false>
Include source code location. Default: true. DEPRECATED. Include source code location. Default: true.
--log-gelf-include-message-parameters <true|false> --log-gelf-include-message-parameters <true|false>
Include message parameters from the log event. Default: true. DEPRECATED. Include message parameters from the log event. Default: true.
--log-gelf-include-stack-trace <true|false> --log-gelf-include-stack-trace <true|false>
If set to true, occuring stack traces are included in the 'StackTrace' field DEPRECATED. If set to true, occuring stack traces are included in the
in the GELF output. Default: true. 'StackTrace' field in the GELF output. Default: true.
--log-gelf-level <level> --log-gelf-level <level>
The log level specifying which message levels will be logged by the GELF DEPRECATED. The log level specifying which message levels will be logged by
logger. Message levels lower than this value will be discarded. Default: the GELF logger. Message levels lower than this value will be discarded.
INFO. Default: INFO.
--log-gelf-max-message-size <size> --log-gelf-max-message-size <size>
Maximum message size (in bytes). If the message size is exceeded, GELF will DEPRECATED. Maximum message size (in bytes). If the message size is exceeded,
submit the message in multiple chunks. Default: 8192. GELF will submit the message in multiple chunks. Default: 8192.
--log-gelf-port <port> --log-gelf-port <port>
The port the Logstash or Graylog Host is called on. Default: 12201. DEPRECATED. The port the Logstash or Graylog Host is called on. Default: 12201.
--log-gelf-timestamp-format <pattern> --log-gelf-timestamp-format <pattern>
Set the format for the GELF timestamp field. Uses Java SimpleDateFormat DEPRECATED. Set the format for the GELF timestamp field. Uses Java
pattern. Default: yyyy-MM-dd HH:mm:ss,SSS. SimpleDateFormat pattern. Default: yyyy-MM-dd HH:mm:ss,SSS.
--log-level <category:level> --log-level <category:level>
The log level of the root category or a comma-separated list of individual The log level of the root category or a comma-separated list of individual
categories and their levels. For the root category, you don't need to categories and their levels. For the root category, you don't need to

View file

@ -252,7 +252,7 @@ Vault:
Logging: Logging:
--log <handler> Enable one or more log handlers in a comma-separated list. Possible values --log <handler> Enable one or more log handlers in a comma-separated list. Possible values
are: console, file, gelf. Default: console. are: console, file, gelf (deprecated). Default: console.
--log-console-color <true|false> --log-console-color <true|false>
Enable or disable colors when logging to console. Default: false. Enable or disable colors when logging to console. Default: false.
--log-console-format <format> --log-console-format <format>
@ -270,30 +270,31 @@ Logging:
Set the log output to JSON or default (plain) unstructured logging. Possible Set the log output to JSON or default (plain) unstructured logging. Possible
values are: default, json. Default: default. values are: default, json. Default: default.
--log-gelf-facility <name> --log-gelf-facility <name>
The facility (name of the process) that sends the message. Default: keycloak. DEPRECATED. The facility (name of the process) that sends the message.
Default: keycloak.
--log-gelf-host <hostname> --log-gelf-host <hostname>
Hostname of the Logstash or Graylog Host. By default UDP is used, prefix the DEPRECATED. Hostname of the Logstash or Graylog Host. By default UDP is used,
host with 'tcp:' to switch to TCP. Example: 'tcp:localhost' Default: prefix the host with 'tcp:' to switch to TCP. Example: 'tcp:localhost'
localhost. Default: localhost.
--log-gelf-include-location <true|false> --log-gelf-include-location <true|false>
Include source code location. Default: true. DEPRECATED. Include source code location. Default: true.
--log-gelf-include-message-parameters <true|false> --log-gelf-include-message-parameters <true|false>
Include message parameters from the log event. Default: true. DEPRECATED. Include message parameters from the log event. Default: true.
--log-gelf-include-stack-trace <true|false> --log-gelf-include-stack-trace <true|false>
If set to true, occuring stack traces are included in the 'StackTrace' field DEPRECATED. If set to true, occuring stack traces are included in the
in the GELF output. Default: true. 'StackTrace' field in the GELF output. Default: true.
--log-gelf-level <level> --log-gelf-level <level>
The log level specifying which message levels will be logged by the GELF DEPRECATED. The log level specifying which message levels will be logged by
logger. Message levels lower than this value will be discarded. Default: the GELF logger. Message levels lower than this value will be discarded.
INFO. Default: INFO.
--log-gelf-max-message-size <size> --log-gelf-max-message-size <size>
Maximum message size (in bytes). If the message size is exceeded, GELF will DEPRECATED. Maximum message size (in bytes). If the message size is exceeded,
submit the message in multiple chunks. Default: 8192. GELF will submit the message in multiple chunks. Default: 8192.
--log-gelf-port <port> --log-gelf-port <port>
The port the Logstash or Graylog Host is called on. Default: 12201. DEPRECATED. The port the Logstash or Graylog Host is called on. Default: 12201.
--log-gelf-timestamp-format <pattern> --log-gelf-timestamp-format <pattern>
Set the format for the GELF timestamp field. Uses Java SimpleDateFormat DEPRECATED. Set the format for the GELF timestamp field. Uses Java
pattern. Default: yyyy-MM-dd HH:mm:ss,SSS. SimpleDateFormat pattern. Default: yyyy-MM-dd HH:mm:ss,SSS.
--log-level <category:level> --log-level <category:level>
The log level of the root category or a comma-separated list of individual The log level of the root category or a comma-separated list of individual
categories and their levels. For the root category, you don't need to categories and their levels. For the root category, you don't need to

View file

@ -247,7 +247,7 @@ Vault:
Logging: Logging:
--log <handler> Enable one or more log handlers in a comma-separated list. Possible values --log <handler> Enable one or more log handlers in a comma-separated list. Possible values
are: console, file, gelf. Default: console. are: console, file, gelf (deprecated). Default: console.
--log-console-color <true|false> --log-console-color <true|false>
Enable or disable colors when logging to console. Default: false. Enable or disable colors when logging to console. Default: false.
--log-console-format <format> --log-console-format <format>
@ -265,30 +265,31 @@ Logging:
Set the log output to JSON or default (plain) unstructured logging. Possible Set the log output to JSON or default (plain) unstructured logging. Possible
values are: default, json. Default: default. values are: default, json. Default: default.
--log-gelf-facility <name> --log-gelf-facility <name>
The facility (name of the process) that sends the message. Default: keycloak. DEPRECATED. The facility (name of the process) that sends the message.
Default: keycloak.
--log-gelf-host <hostname> --log-gelf-host <hostname>
Hostname of the Logstash or Graylog Host. By default UDP is used, prefix the DEPRECATED. Hostname of the Logstash or Graylog Host. By default UDP is used,
host with 'tcp:' to switch to TCP. Example: 'tcp:localhost' Default: prefix the host with 'tcp:' to switch to TCP. Example: 'tcp:localhost'
localhost. Default: localhost.
--log-gelf-include-location <true|false> --log-gelf-include-location <true|false>
Include source code location. Default: true. DEPRECATED. Include source code location. Default: true.
--log-gelf-include-message-parameters <true|false> --log-gelf-include-message-parameters <true|false>
Include message parameters from the log event. Default: true. DEPRECATED. Include message parameters from the log event. Default: true.
--log-gelf-include-stack-trace <true|false> --log-gelf-include-stack-trace <true|false>
If set to true, occuring stack traces are included in the 'StackTrace' field DEPRECATED. If set to true, occuring stack traces are included in the
in the GELF output. Default: true. 'StackTrace' field in the GELF output. Default: true.
--log-gelf-level <level> --log-gelf-level <level>
The log level specifying which message levels will be logged by the GELF DEPRECATED. The log level specifying which message levels will be logged by
logger. Message levels lower than this value will be discarded. Default: the GELF logger. Message levels lower than this value will be discarded.
INFO. Default: INFO.
--log-gelf-max-message-size <size> --log-gelf-max-message-size <size>
Maximum message size (in bytes). If the message size is exceeded, GELF will DEPRECATED. Maximum message size (in bytes). If the message size is exceeded,
submit the message in multiple chunks. Default: 8192. GELF will submit the message in multiple chunks. Default: 8192.
--log-gelf-port <port> --log-gelf-port <port>
The port the Logstash or Graylog Host is called on. Default: 12201. DEPRECATED. The port the Logstash or Graylog Host is called on. Default: 12201.
--log-gelf-timestamp-format <pattern> --log-gelf-timestamp-format <pattern>
Set the format for the GELF timestamp field. Uses Java SimpleDateFormat DEPRECATED. Set the format for the GELF timestamp field. Uses Java
pattern. Default: yyyy-MM-dd HH:mm:ss,SSS. SimpleDateFormat pattern. Default: yyyy-MM-dd HH:mm:ss,SSS.
--log-level <category:level> --log-level <category:level>
The log level of the root category or a comma-separated list of individual The log level of the root category or a comma-separated list of individual
categories and their levels. For the root category, you don't need to categories and their levels. For the root category, you don't need to

View file

@ -252,7 +252,7 @@ Vault:
Logging: Logging:
--log <handler> Enable one or more log handlers in a comma-separated list. Possible values --log <handler> Enable one or more log handlers in a comma-separated list. Possible values
are: console, file, gelf. Default: console. are: console, file, gelf (deprecated). Default: console.
--log-console-color <true|false> --log-console-color <true|false>
Enable or disable colors when logging to console. Default: false. Enable or disable colors when logging to console. Default: false.
--log-console-format <format> --log-console-format <format>
@ -270,30 +270,31 @@ Logging:
Set the log output to JSON or default (plain) unstructured logging. Possible Set the log output to JSON or default (plain) unstructured logging. Possible
values are: default, json. Default: default. values are: default, json. Default: default.
--log-gelf-facility <name> --log-gelf-facility <name>
The facility (name of the process) that sends the message. Default: keycloak. DEPRECATED. The facility (name of the process) that sends the message.
Default: keycloak.
--log-gelf-host <hostname> --log-gelf-host <hostname>
Hostname of the Logstash or Graylog Host. By default UDP is used, prefix the DEPRECATED. Hostname of the Logstash or Graylog Host. By default UDP is used,
host with 'tcp:' to switch to TCP. Example: 'tcp:localhost' Default: prefix the host with 'tcp:' to switch to TCP. Example: 'tcp:localhost'
localhost. Default: localhost.
--log-gelf-include-location <true|false> --log-gelf-include-location <true|false>
Include source code location. Default: true. DEPRECATED. Include source code location. Default: true.
--log-gelf-include-message-parameters <true|false> --log-gelf-include-message-parameters <true|false>
Include message parameters from the log event. Default: true. DEPRECATED. Include message parameters from the log event. Default: true.
--log-gelf-include-stack-trace <true|false> --log-gelf-include-stack-trace <true|false>
If set to true, occuring stack traces are included in the 'StackTrace' field DEPRECATED. If set to true, occuring stack traces are included in the
in the GELF output. Default: true. 'StackTrace' field in the GELF output. Default: true.
--log-gelf-level <level> --log-gelf-level <level>
The log level specifying which message levels will be logged by the GELF DEPRECATED. The log level specifying which message levels will be logged by
logger. Message levels lower than this value will be discarded. Default: the GELF logger. Message levels lower than this value will be discarded.
INFO. Default: INFO.
--log-gelf-max-message-size <size> --log-gelf-max-message-size <size>
Maximum message size (in bytes). If the message size is exceeded, GELF will DEPRECATED. Maximum message size (in bytes). If the message size is exceeded,
submit the message in multiple chunks. Default: 8192. GELF will submit the message in multiple chunks. Default: 8192.
--log-gelf-port <port> --log-gelf-port <port>
The port the Logstash or Graylog Host is called on. Default: 12201. DEPRECATED. The port the Logstash or Graylog Host is called on. Default: 12201.
--log-gelf-timestamp-format <pattern> --log-gelf-timestamp-format <pattern>
Set the format for the GELF timestamp field. Uses Java SimpleDateFormat DEPRECATED. Set the format for the GELF timestamp field. Uses Java
pattern. Default: yyyy-MM-dd HH:mm:ss,SSS. SimpleDateFormat pattern. Default: yyyy-MM-dd HH:mm:ss,SSS.
--log-level <category:level> --log-level <category:level>
The log level of the root category or a comma-separated list of individual The log level of the root category or a comma-separated list of individual
categories and their levels. For the root category, you don't need to categories and their levels. For the root category, you don't need to

View file

@ -247,7 +247,7 @@ Vault:
Logging: Logging:
--log <handler> Enable one or more log handlers in a comma-separated list. Possible values --log <handler> Enable one or more log handlers in a comma-separated list. Possible values
are: console, file, gelf. Default: console. are: console, file, gelf (deprecated). Default: console.
--log-console-color <true|false> --log-console-color <true|false>
Enable or disable colors when logging to console. Default: false. Enable or disable colors when logging to console. Default: false.
--log-console-format <format> --log-console-format <format>
@ -265,30 +265,31 @@ Logging:
Set the log output to JSON or default (plain) unstructured logging. Possible Set the log output to JSON or default (plain) unstructured logging. Possible
values are: default, json. Default: default. values are: default, json. Default: default.
--log-gelf-facility <name> --log-gelf-facility <name>
The facility (name of the process) that sends the message. Default: keycloak. DEPRECATED. The facility (name of the process) that sends the message.
Default: keycloak.
--log-gelf-host <hostname> --log-gelf-host <hostname>
Hostname of the Logstash or Graylog Host. By default UDP is used, prefix the DEPRECATED. Hostname of the Logstash or Graylog Host. By default UDP is used,
host with 'tcp:' to switch to TCP. Example: 'tcp:localhost' Default: prefix the host with 'tcp:' to switch to TCP. Example: 'tcp:localhost'
localhost. Default: localhost.
--log-gelf-include-location <true|false> --log-gelf-include-location <true|false>
Include source code location. Default: true. DEPRECATED. Include source code location. Default: true.
--log-gelf-include-message-parameters <true|false> --log-gelf-include-message-parameters <true|false>
Include message parameters from the log event. Default: true. DEPRECATED. Include message parameters from the log event. Default: true.
--log-gelf-include-stack-trace <true|false> --log-gelf-include-stack-trace <true|false>
If set to true, occuring stack traces are included in the 'StackTrace' field DEPRECATED. If set to true, occuring stack traces are included in the
in the GELF output. Default: true. 'StackTrace' field in the GELF output. Default: true.
--log-gelf-level <level> --log-gelf-level <level>
The log level specifying which message levels will be logged by the GELF DEPRECATED. The log level specifying which message levels will be logged by
logger. Message levels lower than this value will be discarded. Default: the GELF logger. Message levels lower than this value will be discarded.
INFO. Default: INFO.
--log-gelf-max-message-size <size> --log-gelf-max-message-size <size>
Maximum message size (in bytes). If the message size is exceeded, GELF will DEPRECATED. Maximum message size (in bytes). If the message size is exceeded,
submit the message in multiple chunks. Default: 8192. GELF will submit the message in multiple chunks. Default: 8192.
--log-gelf-port <port> --log-gelf-port <port>
The port the Logstash or Graylog Host is called on. Default: 12201. DEPRECATED. The port the Logstash or Graylog Host is called on. Default: 12201.
--log-gelf-timestamp-format <pattern> --log-gelf-timestamp-format <pattern>
Set the format for the GELF timestamp field. Uses Java SimpleDateFormat DEPRECATED. Set the format for the GELF timestamp field. Uses Java
pattern. Default: yyyy-MM-dd HH:mm:ss,SSS. SimpleDateFormat pattern. Default: yyyy-MM-dd HH:mm:ss,SSS.
--log-level <category:level> --log-level <category:level>
The log level of the root category or a comma-separated list of individual The log level of the root category or a comma-separated list of individual
categories and their levels. For the root category, you don't need to categories and their levels. For the root category, you don't need to

View file

@ -253,7 +253,7 @@ Vault:
Logging: Logging:
--log <handler> Enable one or more log handlers in a comma-separated list. Possible values --log <handler> Enable one or more log handlers in a comma-separated list. Possible values
are: console, file, gelf. Default: console. are: console, file, gelf (deprecated). Default: console.
--log-console-color <true|false> --log-console-color <true|false>
Enable or disable colors when logging to console. Default: false. Enable or disable colors when logging to console. Default: false.
--log-console-format <format> --log-console-format <format>
@ -271,30 +271,31 @@ Logging:
Set the log output to JSON or default (plain) unstructured logging. Possible Set the log output to JSON or default (plain) unstructured logging. Possible
values are: default, json. Default: default. values are: default, json. Default: default.
--log-gelf-facility <name> --log-gelf-facility <name>
The facility (name of the process) that sends the message. Default: keycloak. DEPRECATED. The facility (name of the process) that sends the message.
Default: keycloak.
--log-gelf-host <hostname> --log-gelf-host <hostname>
Hostname of the Logstash or Graylog Host. By default UDP is used, prefix the DEPRECATED. Hostname of the Logstash or Graylog Host. By default UDP is used,
host with 'tcp:' to switch to TCP. Example: 'tcp:localhost' Default: prefix the host with 'tcp:' to switch to TCP. Example: 'tcp:localhost'
localhost. Default: localhost.
--log-gelf-include-location <true|false> --log-gelf-include-location <true|false>
Include source code location. Default: true. DEPRECATED. Include source code location. Default: true.
--log-gelf-include-message-parameters <true|false> --log-gelf-include-message-parameters <true|false>
Include message parameters from the log event. Default: true. DEPRECATED. Include message parameters from the log event. Default: true.
--log-gelf-include-stack-trace <true|false> --log-gelf-include-stack-trace <true|false>
If set to true, occuring stack traces are included in the 'StackTrace' field DEPRECATED. If set to true, occuring stack traces are included in the
in the GELF output. Default: true. 'StackTrace' field in the GELF output. Default: true.
--log-gelf-level <level> --log-gelf-level <level>
The log level specifying which message levels will be logged by the GELF DEPRECATED. The log level specifying which message levels will be logged by
logger. Message levels lower than this value will be discarded. Default: the GELF logger. Message levels lower than this value will be discarded.
INFO. Default: INFO.
--log-gelf-max-message-size <size> --log-gelf-max-message-size <size>
Maximum message size (in bytes). If the message size is exceeded, GELF will DEPRECATED. Maximum message size (in bytes). If the message size is exceeded,
submit the message in multiple chunks. Default: 8192. GELF will submit the message in multiple chunks. Default: 8192.
--log-gelf-port <port> --log-gelf-port <port>
The port the Logstash or Graylog Host is called on. Default: 12201. DEPRECATED. The port the Logstash or Graylog Host is called on. Default: 12201.
--log-gelf-timestamp-format <pattern> --log-gelf-timestamp-format <pattern>
Set the format for the GELF timestamp field. Uses Java SimpleDateFormat DEPRECATED. Set the format for the GELF timestamp field. Uses Java
pattern. Default: yyyy-MM-dd HH:mm:ss,SSS. SimpleDateFormat pattern. Default: yyyy-MM-dd HH:mm:ss,SSS.
--log-level <category:level> --log-level <category:level>
The log level of the root category or a comma-separated list of individual The log level of the root category or a comma-separated list of individual
categories and their levels. For the root category, you don't need to categories and their levels. For the root category, you don't need to

View file

@ -248,7 +248,7 @@ Vault:
Logging: Logging:
--log <handler> Enable one or more log handlers in a comma-separated list. Possible values --log <handler> Enable one or more log handlers in a comma-separated list. Possible values
are: console, file, gelf. Default: console. are: console, file, gelf (deprecated). Default: console.
--log-console-color <true|false> --log-console-color <true|false>
Enable or disable colors when logging to console. Default: false. Enable or disable colors when logging to console. Default: false.
--log-console-format <format> --log-console-format <format>
@ -266,30 +266,31 @@ Logging:
Set the log output to JSON or default (plain) unstructured logging. Possible Set the log output to JSON or default (plain) unstructured logging. Possible
values are: default, json. Default: default. values are: default, json. Default: default.
--log-gelf-facility <name> --log-gelf-facility <name>
The facility (name of the process) that sends the message. Default: keycloak. DEPRECATED. The facility (name of the process) that sends the message.
Default: keycloak.
--log-gelf-host <hostname> --log-gelf-host <hostname>
Hostname of the Logstash or Graylog Host. By default UDP is used, prefix the DEPRECATED. Hostname of the Logstash or Graylog Host. By default UDP is used,
host with 'tcp:' to switch to TCP. Example: 'tcp:localhost' Default: prefix the host with 'tcp:' to switch to TCP. Example: 'tcp:localhost'
localhost. Default: localhost.
--log-gelf-include-location <true|false> --log-gelf-include-location <true|false>
Include source code location. Default: true. DEPRECATED. Include source code location. Default: true.
--log-gelf-include-message-parameters <true|false> --log-gelf-include-message-parameters <true|false>
Include message parameters from the log event. Default: true. DEPRECATED. Include message parameters from the log event. Default: true.
--log-gelf-include-stack-trace <true|false> --log-gelf-include-stack-trace <true|false>
If set to true, occuring stack traces are included in the 'StackTrace' field DEPRECATED. If set to true, occuring stack traces are included in the
in the GELF output. Default: true. 'StackTrace' field in the GELF output. Default: true.
--log-gelf-level <level> --log-gelf-level <level>
The log level specifying which message levels will be logged by the GELF DEPRECATED. The log level specifying which message levels will be logged by
logger. Message levels lower than this value will be discarded. Default: the GELF logger. Message levels lower than this value will be discarded.
INFO. Default: INFO.
--log-gelf-max-message-size <size> --log-gelf-max-message-size <size>
Maximum message size (in bytes). If the message size is exceeded, GELF will DEPRECATED. Maximum message size (in bytes). If the message size is exceeded,
submit the message in multiple chunks. Default: 8192. GELF will submit the message in multiple chunks. Default: 8192.
--log-gelf-port <port> --log-gelf-port <port>
The port the Logstash or Graylog Host is called on. Default: 12201. DEPRECATED. The port the Logstash or Graylog Host is called on. Default: 12201.
--log-gelf-timestamp-format <pattern> --log-gelf-timestamp-format <pattern>
Set the format for the GELF timestamp field. Uses Java SimpleDateFormat DEPRECATED. Set the format for the GELF timestamp field. Uses Java
pattern. Default: yyyy-MM-dd HH:mm:ss,SSS. SimpleDateFormat pattern. Default: yyyy-MM-dd HH:mm:ss,SSS.
--log-level <category:level> --log-level <category:level>
The log level of the root category or a comma-separated list of individual The log level of the root category or a comma-separated list of individual
categories and their levels. For the root category, you don't need to categories and their levels. For the root category, you don't need to

View file

@ -253,7 +253,7 @@ Vault:
Logging: Logging:
--log <handler> Enable one or more log handlers in a comma-separated list. Possible values --log <handler> Enable one or more log handlers in a comma-separated list. Possible values
are: console, file, gelf. Default: console. are: console, file, gelf (deprecated). Default: console.
--log-console-color <true|false> --log-console-color <true|false>
Enable or disable colors when logging to console. Default: false. Enable or disable colors when logging to console. Default: false.
--log-console-format <format> --log-console-format <format>
@ -271,30 +271,31 @@ Logging:
Set the log output to JSON or default (plain) unstructured logging. Possible Set the log output to JSON or default (plain) unstructured logging. Possible
values are: default, json. Default: default. values are: default, json. Default: default.
--log-gelf-facility <name> --log-gelf-facility <name>
The facility (name of the process) that sends the message. Default: keycloak. DEPRECATED. The facility (name of the process) that sends the message.
Default: keycloak.
--log-gelf-host <hostname> --log-gelf-host <hostname>
Hostname of the Logstash or Graylog Host. By default UDP is used, prefix the DEPRECATED. Hostname of the Logstash or Graylog Host. By default UDP is used,
host with 'tcp:' to switch to TCP. Example: 'tcp:localhost' Default: prefix the host with 'tcp:' to switch to TCP. Example: 'tcp:localhost'
localhost. Default: localhost.
--log-gelf-include-location <true|false> --log-gelf-include-location <true|false>
Include source code location. Default: true. DEPRECATED. Include source code location. Default: true.
--log-gelf-include-message-parameters <true|false> --log-gelf-include-message-parameters <true|false>
Include message parameters from the log event. Default: true. DEPRECATED. Include message parameters from the log event. Default: true.
--log-gelf-include-stack-trace <true|false> --log-gelf-include-stack-trace <true|false>
If set to true, occuring stack traces are included in the 'StackTrace' field DEPRECATED. If set to true, occuring stack traces are included in the
in the GELF output. Default: true. 'StackTrace' field in the GELF output. Default: true.
--log-gelf-level <level> --log-gelf-level <level>
The log level specifying which message levels will be logged by the GELF DEPRECATED. The log level specifying which message levels will be logged by
logger. Message levels lower than this value will be discarded. Default: the GELF logger. Message levels lower than this value will be discarded.
INFO. Default: INFO.
--log-gelf-max-message-size <size> --log-gelf-max-message-size <size>
Maximum message size (in bytes). If the message size is exceeded, GELF will DEPRECATED. Maximum message size (in bytes). If the message size is exceeded,
submit the message in multiple chunks. Default: 8192. GELF will submit the message in multiple chunks. Default: 8192.
--log-gelf-port <port> --log-gelf-port <port>
The port the Logstash or Graylog Host is called on. Default: 12201. DEPRECATED. The port the Logstash or Graylog Host is called on. Default: 12201.
--log-gelf-timestamp-format <pattern> --log-gelf-timestamp-format <pattern>
Set the format for the GELF timestamp field. Uses Java SimpleDateFormat DEPRECATED. Set the format for the GELF timestamp field. Uses Java
pattern. Default: yyyy-MM-dd HH:mm:ss,SSS. SimpleDateFormat pattern. Default: yyyy-MM-dd HH:mm:ss,SSS.
--log-level <category:level> --log-level <category:level>
The log level of the root category or a comma-separated list of individual The log level of the root category or a comma-separated list of individual
categories and their levels. For the root category, you don't need to categories and their levels. For the root category, you don't need to

View file

@ -247,7 +247,7 @@ Vault:
Logging: Logging:
--log <handler> Enable one or more log handlers in a comma-separated list. Possible values --log <handler> Enable one or more log handlers in a comma-separated list. Possible values
are: console, file, gelf. Default: console. are: console, file, gelf (deprecated). Default: console.
--log-console-color <true|false> --log-console-color <true|false>
Enable or disable colors when logging to console. Default: false. Enable or disable colors when logging to console. Default: false.
--log-console-format <format> --log-console-format <format>
@ -265,30 +265,31 @@ Logging:
Set the log output to JSON or default (plain) unstructured logging. Possible Set the log output to JSON or default (plain) unstructured logging. Possible
values are: default, json. Default: default. values are: default, json. Default: default.
--log-gelf-facility <name> --log-gelf-facility <name>
The facility (name of the process) that sends the message. Default: keycloak. DEPRECATED. The facility (name of the process) that sends the message.
Default: keycloak.
--log-gelf-host <hostname> --log-gelf-host <hostname>
Hostname of the Logstash or Graylog Host. By default UDP is used, prefix the DEPRECATED. Hostname of the Logstash or Graylog Host. By default UDP is used,
host with 'tcp:' to switch to TCP. Example: 'tcp:localhost' Default: prefix the host with 'tcp:' to switch to TCP. Example: 'tcp:localhost'
localhost. Default: localhost.
--log-gelf-include-location <true|false> --log-gelf-include-location <true|false>
Include source code location. Default: true. DEPRECATED. Include source code location. Default: true.
--log-gelf-include-message-parameters <true|false> --log-gelf-include-message-parameters <true|false>
Include message parameters from the log event. Default: true. DEPRECATED. Include message parameters from the log event. Default: true.
--log-gelf-include-stack-trace <true|false> --log-gelf-include-stack-trace <true|false>
If set to true, occuring stack traces are included in the 'StackTrace' field DEPRECATED. If set to true, occuring stack traces are included in the
in the GELF output. Default: true. 'StackTrace' field in the GELF output. Default: true.
--log-gelf-level <level> --log-gelf-level <level>
The log level specifying which message levels will be logged by the GELF DEPRECATED. The log level specifying which message levels will be logged by
logger. Message levels lower than this value will be discarded. Default: the GELF logger. Message levels lower than this value will be discarded.
INFO. Default: INFO.
--log-gelf-max-message-size <size> --log-gelf-max-message-size <size>
Maximum message size (in bytes). If the message size is exceeded, GELF will DEPRECATED. Maximum message size (in bytes). If the message size is exceeded,
submit the message in multiple chunks. Default: 8192. GELF will submit the message in multiple chunks. Default: 8192.
--log-gelf-port <port> --log-gelf-port <port>
The port the Logstash or Graylog Host is called on. Default: 12201. DEPRECATED. The port the Logstash or Graylog Host is called on. Default: 12201.
--log-gelf-timestamp-format <pattern> --log-gelf-timestamp-format <pattern>
Set the format for the GELF timestamp field. Uses Java SimpleDateFormat DEPRECATED. Set the format for the GELF timestamp field. Uses Java
pattern. Default: yyyy-MM-dd HH:mm:ss,SSS. SimpleDateFormat pattern. Default: yyyy-MM-dd HH:mm:ss,SSS.
--log-level <category:level> --log-level <category:level>
The log level of the root category or a comma-separated list of individual The log level of the root category or a comma-separated list of individual
categories and their levels. For the root category, you don't need to categories and their levels. For the root category, you don't need to

View file

@ -175,7 +175,7 @@ Vault:
Logging: Logging:
--log <handler> Enable one or more log handlers in a comma-separated list. Possible values --log <handler> Enable one or more log handlers in a comma-separated list. Possible values
are: console, file, gelf. Default: console. are: console, file, gelf (deprecated). Default: console.
--log-console-color <true|false> --log-console-color <true|false>
Enable or disable colors when logging to console. Default: false. Enable or disable colors when logging to console. Default: false.
--log-console-format <format> --log-console-format <format>
@ -193,30 +193,31 @@ Logging:
Set the log output to JSON or default (plain) unstructured logging. Possible Set the log output to JSON or default (plain) unstructured logging. Possible
values are: default, json. Default: default. values are: default, json. Default: default.
--log-gelf-facility <name> --log-gelf-facility <name>
The facility (name of the process) that sends the message. Default: keycloak. DEPRECATED. The facility (name of the process) that sends the message.
Default: keycloak.
--log-gelf-host <hostname> --log-gelf-host <hostname>
Hostname of the Logstash or Graylog Host. By default UDP is used, prefix the DEPRECATED. Hostname of the Logstash or Graylog Host. By default UDP is used,
host with 'tcp:' to switch to TCP. Example: 'tcp:localhost' Default: prefix the host with 'tcp:' to switch to TCP. Example: 'tcp:localhost'
localhost. Default: localhost.
--log-gelf-include-location <true|false> --log-gelf-include-location <true|false>
Include source code location. Default: true. DEPRECATED. Include source code location. Default: true.
--log-gelf-include-message-parameters <true|false> --log-gelf-include-message-parameters <true|false>
Include message parameters from the log event. Default: true. DEPRECATED. Include message parameters from the log event. Default: true.
--log-gelf-include-stack-trace <true|false> --log-gelf-include-stack-trace <true|false>
If set to true, occuring stack traces are included in the 'StackTrace' field DEPRECATED. If set to true, occuring stack traces are included in the
in the GELF output. Default: true. 'StackTrace' field in the GELF output. Default: true.
--log-gelf-level <level> --log-gelf-level <level>
The log level specifying which message levels will be logged by the GELF DEPRECATED. The log level specifying which message levels will be logged by
logger. Message levels lower than this value will be discarded. Default: the GELF logger. Message levels lower than this value will be discarded.
INFO. Default: INFO.
--log-gelf-max-message-size <size> --log-gelf-max-message-size <size>
Maximum message size (in bytes). If the message size is exceeded, GELF will DEPRECATED. Maximum message size (in bytes). If the message size is exceeded,
submit the message in multiple chunks. Default: 8192. GELF will submit the message in multiple chunks. Default: 8192.
--log-gelf-port <port> --log-gelf-port <port>
The port the Logstash or Graylog Host is called on. Default: 12201. DEPRECATED. The port the Logstash or Graylog Host is called on. Default: 12201.
--log-gelf-timestamp-format <pattern> --log-gelf-timestamp-format <pattern>
Set the format for the GELF timestamp field. Uses Java SimpleDateFormat DEPRECATED. Set the format for the GELF timestamp field. Uses Java
pattern. Default: yyyy-MM-dd HH:mm:ss,SSS. SimpleDateFormat pattern. Default: yyyy-MM-dd HH:mm:ss,SSS.
--log-level <category:level> --log-level <category:level>
The log level of the root category or a comma-separated list of individual The log level of the root category or a comma-separated list of individual
categories and their levels. For the root category, you don't need to categories and their levels. For the root category, you don't need to

View file

@ -170,7 +170,7 @@ Vault:
Logging: Logging:
--log <handler> Enable one or more log handlers in a comma-separated list. Possible values --log <handler> Enable one or more log handlers in a comma-separated list. Possible values
are: console, file, gelf. Default: console. are: console, file, gelf (deprecated). Default: console.
--log-console-color <true|false> --log-console-color <true|false>
Enable or disable colors when logging to console. Default: false. Enable or disable colors when logging to console. Default: false.
--log-console-format <format> --log-console-format <format>
@ -188,30 +188,31 @@ Logging:
Set the log output to JSON or default (plain) unstructured logging. Possible Set the log output to JSON or default (plain) unstructured logging. Possible
values are: default, json. Default: default. values are: default, json. Default: default.
--log-gelf-facility <name> --log-gelf-facility <name>
The facility (name of the process) that sends the message. Default: keycloak. DEPRECATED. The facility (name of the process) that sends the message.
Default: keycloak.
--log-gelf-host <hostname> --log-gelf-host <hostname>
Hostname of the Logstash or Graylog Host. By default UDP is used, prefix the DEPRECATED. Hostname of the Logstash or Graylog Host. By default UDP is used,
host with 'tcp:' to switch to TCP. Example: 'tcp:localhost' Default: prefix the host with 'tcp:' to switch to TCP. Example: 'tcp:localhost'
localhost. Default: localhost.
--log-gelf-include-location <true|false> --log-gelf-include-location <true|false>
Include source code location. Default: true. DEPRECATED. Include source code location. Default: true.
--log-gelf-include-message-parameters <true|false> --log-gelf-include-message-parameters <true|false>
Include message parameters from the log event. Default: true. DEPRECATED. Include message parameters from the log event. Default: true.
--log-gelf-include-stack-trace <true|false> --log-gelf-include-stack-trace <true|false>
If set to true, occuring stack traces are included in the 'StackTrace' field DEPRECATED. If set to true, occuring stack traces are included in the
in the GELF output. Default: true. 'StackTrace' field in the GELF output. Default: true.
--log-gelf-level <level> --log-gelf-level <level>
The log level specifying which message levels will be logged by the GELF DEPRECATED. The log level specifying which message levels will be logged by
logger. Message levels lower than this value will be discarded. Default: the GELF logger. Message levels lower than this value will be discarded.
INFO. Default: INFO.
--log-gelf-max-message-size <size> --log-gelf-max-message-size <size>
Maximum message size (in bytes). If the message size is exceeded, GELF will DEPRECATED. Maximum message size (in bytes). If the message size is exceeded,
submit the message in multiple chunks. Default: 8192. GELF will submit the message in multiple chunks. Default: 8192.
--log-gelf-port <port> --log-gelf-port <port>
The port the Logstash or Graylog Host is called on. Default: 12201. DEPRECATED. The port the Logstash or Graylog Host is called on. Default: 12201.
--log-gelf-timestamp-format <pattern> --log-gelf-timestamp-format <pattern>
Set the format for the GELF timestamp field. Uses Java SimpleDateFormat DEPRECATED. Set the format for the GELF timestamp field. Uses Java
pattern. Default: yyyy-MM-dd HH:mm:ss,SSS. SimpleDateFormat pattern. Default: yyyy-MM-dd HH:mm:ss,SSS.
--log-level <category:level> --log-level <category:level>
The log level of the root category or a comma-separated list of individual The log level of the root category or a comma-separated list of individual
categories and their levels. For the root category, you don't need to categories and their levels. For the root category, you don't need to

View file

@ -175,7 +175,7 @@ Vault:
Logging: Logging:
--log <handler> Enable one or more log handlers in a comma-separated list. Possible values --log <handler> Enable one or more log handlers in a comma-separated list. Possible values
are: console, file, gelf. Default: console. are: console, file, gelf (deprecated). Default: console.
--log-console-color <true|false> --log-console-color <true|false>
Enable or disable colors when logging to console. Default: false. Enable or disable colors when logging to console. Default: false.
--log-console-format <format> --log-console-format <format>
@ -193,30 +193,31 @@ Logging:
Set the log output to JSON or default (plain) unstructured logging. Possible Set the log output to JSON or default (plain) unstructured logging. Possible
values are: default, json. Default: default. values are: default, json. Default: default.
--log-gelf-facility <name> --log-gelf-facility <name>
The facility (name of the process) that sends the message. Default: keycloak. DEPRECATED. The facility (name of the process) that sends the message.
Default: keycloak.
--log-gelf-host <hostname> --log-gelf-host <hostname>
Hostname of the Logstash or Graylog Host. By default UDP is used, prefix the DEPRECATED. Hostname of the Logstash or Graylog Host. By default UDP is used,
host with 'tcp:' to switch to TCP. Example: 'tcp:localhost' Default: prefix the host with 'tcp:' to switch to TCP. Example: 'tcp:localhost'
localhost. Default: localhost.
--log-gelf-include-location <true|false> --log-gelf-include-location <true|false>
Include source code location. Default: true. DEPRECATED. Include source code location. Default: true.
--log-gelf-include-message-parameters <true|false> --log-gelf-include-message-parameters <true|false>
Include message parameters from the log event. Default: true. DEPRECATED. Include message parameters from the log event. Default: true.
--log-gelf-include-stack-trace <true|false> --log-gelf-include-stack-trace <true|false>
If set to true, occuring stack traces are included in the 'StackTrace' field DEPRECATED. If set to true, occuring stack traces are included in the
in the GELF output. Default: true. 'StackTrace' field in the GELF output. Default: true.
--log-gelf-level <level> --log-gelf-level <level>
The log level specifying which message levels will be logged by the GELF DEPRECATED. The log level specifying which message levels will be logged by
logger. Message levels lower than this value will be discarded. Default: the GELF logger. Message levels lower than this value will be discarded.
INFO. Default: INFO.
--log-gelf-max-message-size <size> --log-gelf-max-message-size <size>
Maximum message size (in bytes). If the message size is exceeded, GELF will DEPRECATED. Maximum message size (in bytes). If the message size is exceeded,
submit the message in multiple chunks. Default: 8192. GELF will submit the message in multiple chunks. Default: 8192.
--log-gelf-port <port> --log-gelf-port <port>
The port the Logstash or Graylog Host is called on. Default: 12201. DEPRECATED. The port the Logstash or Graylog Host is called on. Default: 12201.
--log-gelf-timestamp-format <pattern> --log-gelf-timestamp-format <pattern>
Set the format for the GELF timestamp field. Uses Java SimpleDateFormat DEPRECATED. Set the format for the GELF timestamp field. Uses Java
pattern. Default: yyyy-MM-dd HH:mm:ss,SSS. SimpleDateFormat pattern. Default: yyyy-MM-dd HH:mm:ss,SSS.
--log-level <category:level> --log-level <category:level>
The log level of the root category or a comma-separated list of individual The log level of the root category or a comma-separated list of individual
categories and their levels. For the root category, you don't need to categories and their levels. For the root category, you don't need to

View file

@ -170,7 +170,7 @@ Vault:
Logging: Logging:
--log <handler> Enable one or more log handlers in a comma-separated list. Possible values --log <handler> Enable one or more log handlers in a comma-separated list. Possible values
are: console, file, gelf. Default: console. are: console, file, gelf (deprecated). Default: console.
--log-console-color <true|false> --log-console-color <true|false>
Enable or disable colors when logging to console. Default: false. Enable or disable colors when logging to console. Default: false.
--log-console-format <format> --log-console-format <format>
@ -188,30 +188,31 @@ Logging:
Set the log output to JSON or default (plain) unstructured logging. Possible Set the log output to JSON or default (plain) unstructured logging. Possible
values are: default, json. Default: default. values are: default, json. Default: default.
--log-gelf-facility <name> --log-gelf-facility <name>
The facility (name of the process) that sends the message. Default: keycloak. DEPRECATED. The facility (name of the process) that sends the message.
Default: keycloak.
--log-gelf-host <hostname> --log-gelf-host <hostname>
Hostname of the Logstash or Graylog Host. By default UDP is used, prefix the DEPRECATED. Hostname of the Logstash or Graylog Host. By default UDP is used,
host with 'tcp:' to switch to TCP. Example: 'tcp:localhost' Default: prefix the host with 'tcp:' to switch to TCP. Example: 'tcp:localhost'
localhost. Default: localhost.
--log-gelf-include-location <true|false> --log-gelf-include-location <true|false>
Include source code location. Default: true. DEPRECATED. Include source code location. Default: true.
--log-gelf-include-message-parameters <true|false> --log-gelf-include-message-parameters <true|false>
Include message parameters from the log event. Default: true. DEPRECATED. Include message parameters from the log event. Default: true.
--log-gelf-include-stack-trace <true|false> --log-gelf-include-stack-trace <true|false>
If set to true, occuring stack traces are included in the 'StackTrace' field DEPRECATED. If set to true, occuring stack traces are included in the
in the GELF output. Default: true. 'StackTrace' field in the GELF output. Default: true.
--log-gelf-level <level> --log-gelf-level <level>
The log level specifying which message levels will be logged by the GELF DEPRECATED. The log level specifying which message levels will be logged by
logger. Message levels lower than this value will be discarded. Default: the GELF logger. Message levels lower than this value will be discarded.
INFO. Default: INFO.
--log-gelf-max-message-size <size> --log-gelf-max-message-size <size>
Maximum message size (in bytes). If the message size is exceeded, GELF will DEPRECATED. Maximum message size (in bytes). If the message size is exceeded,
submit the message in multiple chunks. Default: 8192. GELF will submit the message in multiple chunks. Default: 8192.
--log-gelf-port <port> --log-gelf-port <port>
The port the Logstash or Graylog Host is called on. Default: 12201. DEPRECATED. The port the Logstash or Graylog Host is called on. Default: 12201.
--log-gelf-timestamp-format <pattern> --log-gelf-timestamp-format <pattern>
Set the format for the GELF timestamp field. Uses Java SimpleDateFormat DEPRECATED. Set the format for the GELF timestamp field. Uses Java
pattern. Default: yyyy-MM-dd HH:mm:ss,SSS. SimpleDateFormat pattern. Default: yyyy-MM-dd HH:mm:ss,SSS.
--log-level <category:level> --log-level <category:level>
The log level of the root category or a comma-separated list of individual The log level of the root category or a comma-separated list of individual
categories and their levels. For the root category, you don't need to categories and their levels. For the root category, you don't need to