Hi Josh,

Have you looked at the ConfiguredCommand class? 
https://www.dropwizard.io/en/latest/manual/core.html#man-core-commands-configured

It looks like if you extend `ConfiguredCommand` instead of `Command` it'll 
make your config available to your command, and it should initialize 
logging using the config: 
https://github.com/dropwizard/dropwizard/blob/master/dropwizard-core/src/main/java/io/dropwizard/cli/ConfiguredCommand.java#L83

Does that work in your case?

On Monday, May 25, 2020 at 9:25:31 PM UTC-7, javajosh wrote:
>
> After digging around in Dropwizard source, I was able to produce a 
> workaround where I can override the Bootstrap log level in the Application 
> subclass. However, I still can't modify appenders, etc. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dropwizard-user/3e14cce0-e334-4370-812c-98a4cda24584%40googlegroups.com.

Reply via email to