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".
  • Constructor Details

    • DefaultLoggingConfigurationBundle

      public DefaultLoggingConfigurationBundle()
  • Method Details

    • builder

    • initialize

      public void initialize(io.dropwizard.core.setup.Bootstrap<?> bootstrap)
      Specified by:
      initialize in interface io.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 interface io.dropwizard.core.ConfiguredBundle<io.dropwizard.core.Configuration>