Project log4j Debugging on --verbose

From NovaOrdis Knowledge Base
Revision as of 20:40, 6 August 2016 by Ovidiu (talk | contribs)
Jump to navigation Jump to search

Internal

Overview

This is a development pattern that routes log4j logging information to stderr if -v|--verbose command line option is used. Projects that implement it are clad, os-stats, etc.

Procedure

Use

https://github.com/NovaOrdis/novaordis-utilities/blob/master/src/main/java/io/novaordis/utilities/logging/StderrVerboseLogging.java

as follows:

TODO