Hi Les,

you could override the Application#bootstrapLogging() method which is 
calling the BootstrapLogging class to completely avoid Dropwizard's custom 
configuration of the logging framework and fall back to Logback's defaults.

   - 
   
https://github.com/dropwizard/dropwizard/blob/v2.0.28/dropwizard-core/src/main/java/io/dropwizard/Application.java#L36-L39
   - 
   
https://github.com/dropwizard/dropwizard/blob/v2.0.28/dropwizard-logging/src/main/java/io/dropwizard/logging/BootstrapLogging.java

Cheers,
Jochen

[email protected] schrieb am Donnerstag, 23. Dezember 2021 um 02:53:34 
UTC+1:

> So, Dropwizard logging is built on top of logback yet it has its own 
> configuration. Can logback configuration be used as well? I've tried adding 
> my logback.xml file and it doesn't appear to be taken up and applied. I ask 
> because dropwizard logging seems somewhat more simplistic and I'd like to 
> be able to use more of the feature in logback in my dropwizard application.
>
> Thanks
> -Les
>

-- 
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/240d5e19-e5f2-44e2-8b11-93d296ae7e6bn%40googlegroups.com.

Reply via email to