I was looking for a quick way to disable logging on Apache Commons Logger so that I could do some testing without overhead. Here is a command line option for setting the logger to a no-op logger.
-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog
No comments:
Post a Comment