Class DefaultLoggingConfigurationBundle
java.lang.Object
org.sdase.commons.server.dropwizard.bundles.DefaultLoggingConfigurationBundle
- All Implemented Interfaces:
io.dropwizard.core.ConfiguredBundle<io.dropwizard.core.Configuration>
public class DefaultLoggingConfigurationBundle
extends Object
implements io.dropwizard.core.ConfiguredBundle<io.dropwizard.core.Configuration>
The
DefaultLoggingConfigurationBundle
allows to configure the console logger with the
settings desired by the SDA. Requires that the environment variable ENABLE_JSON_LOGGING
is set to "true"
.-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
void
initialize
(io.dropwizard.core.setup.Bootstrap<?> bootstrap) void
run
(io.dropwizard.core.Configuration configuration, io.dropwizard.core.setup.Environment environment)
-
Constructor Details
-
DefaultLoggingConfigurationBundle
public DefaultLoggingConfigurationBundle()
-
-
Method Details
-
builder
-
initialize
public void initialize(io.dropwizard.core.setup.Bootstrap<?> bootstrap) - Specified by:
initialize
in interfaceio.dropwizard.core.ConfiguredBundle<io.dropwizard.core.Configuration>
-
run
public void run(io.dropwizard.core.Configuration configuration, io.dropwizard.core.setup.Environment environment) - Specified by:
run
in interfaceio.dropwizard.core.ConfiguredBundle<io.dropwizard.core.Configuration>
-