I've got some unit tests that do not invoke Dropwizard. They test isolated
classes.
I'd like to configure logging to write to disk instead of the console.
I tried this, but it isn't clear where the log file gets written, if
anywhere.
public static void main(String[] args) {
BootstrapLogging.bootstrap();
Logger logger = LoggerFactory.getLogger(TestLogging.class);
logger.info("hello");
}
How do I configure BootstrapLogging without running my Dropwizard
application?
--
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/b362809f-72d7-4860-809a-4707a1cb0cd7%40googlegroups.com.