I am trying to embed Jetty 6.1 in another program. Jetty is dumping INFO-log information and I need to turn it off. Is there a simple way to disable logging programmaticaly?
相关问题
- I want to trace logs using a Macro multi parameter
- Error message 'No handlers could be found for
- convert logback.xml to log4j.properties
- Django management command doesn't show logging
- apache modules ap_log_perror is at a different lev
相关文章
- how do I log requests and responses for debugging
- Android Studio doesn't display logs by package
- How to use Jetty with Let's Encrypt certificat
- Stacktrace does not print in Glassfish 4.1 Cluster
- Out of curiosity — why don't logging APIs impl
- Integrating Jetty with RESTEasy
- Laravel log file based on date
- Java -How to get logger to work in shutdown hook?
I've had success in creating a dummy logger that discards everything it's ever asked to log, and then passing it into
Log.setLog(...)
.E.g.
For reference, I used these packages:
instead of the mortbay ones, but they should probably behave the same (or at least similarly).