Hi all, Using Dropwizard 2.0.23 (latest at time of writing this), I set up external logging per https://www.dropwizard.io/en/latest/manual/core.html#logging and all was good. But later on I changed the default ObjectMapper with the code below. Now sometime after that snippet runs, logging reverts to the default internal.
I threw a repo with a minimal example of the 2 versions up at https://github.com/dabraham02124/loggingTest (please see the readme for the relevant commits). Am I doing something wrong? Is there a better way to do this? It seems very odd behavior to me, and I couldn't find doc explaining this. I've found a workaround for myself (manually creating a separate ObjectMapper), but this is nagging at me. Any ideas would be appreciated. Thank you very much. Daniel Abraham @Override public void initialize(final Bootstrap<LoggingTestConfiguration> bootstrap) { bootstrap.setObjectMapper(new ObjectMapper(new YAMLFactory())); } -- 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/24c76733-af3d-43e5-bad8-96106deacc26n%40googlegroups.com.
