Hi,
All I want to do is customize the console logging level for a particular
package. Dropwizard 0.9.1. Here's my YAML:
# Logging settings.
logging:
# The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG,
TRACE, or ALL.
level: INFO
loggers:
"com.speedingplanet" :
level: DEBUG
appenders:
- type: console
appenders:
- type: console
threshold: ALL
And here are the relevant portions of a class under
com.speedingplanet.banking.resources
// Class level
private static final Logger LOGGER = LoggerFactory.getLogger
(TransactionResource.class);
...
// Inside a method
LOGGER.debug("*************************************************************************");
LOGGER.info("-------------------------------------------------------------------------");
LOGGER.warn("=========================================================================");
>From what I've read, this should send to the console INFO level logging for
everything but com.speedingplanet.*. For that, it should send all logging,
no matter what.
But instead, I only see the WARN level logging. Which is weird, because you
would figure I'd get the INFO level as well, but no.
I've been wracking my brain (and Stack Overflow) on this for a while. Any
help would be appreciated.
--
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].
For more options, visit https://groups.google.com/d/optout.