Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add support for providing a custom layout during logging bootstrap #2260
Dropwizard users have the ability to configure their application to use JSON as the logging format. Unfortunately, the default logging bootstrap mechanism which kicks off before Dropwizard logging
This change add possibility to specify a layout factory during the bootstrap process. Users can override the bootstrap method of
BootstrapLogging.bootstrap(Level.INFO, new EventJsonLayoutBaseFactory());
As a result, the all applications logs will produced in the JSON format.