Project Alternative log4j Configuration: Difference between revisions
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
A pattern that consists in accepting alternative log4j configuration for applications that run in background. The application rely on a base log4j configuration file, usually shipped as part of the application's installation bundle, but it can change its logging behavior based on logging configuration present in the application's configuration file. Configuration that comes from the application's configuration file takes priority over configuration stored in log4j.xml. | A pattern that consists in accepting alternative log4j configuration for applications that run in background. The application rely on a base log4j configuration file, usually shipped as part of the application's installation bundle, but it can change its logging behavior based on logging configuration present in the application's configuration file. Configuration that comes from the application's configuration file takes priority over configuration stored in log4j.xml. | ||
For command-line utilities that run in foreground and want to route their all log4j logging information to stderr if -v or --verbose command line options are used, see {{Internal|}} | For command-line utilities that run in foreground and want to route their all log4j logging information to stderr if -v or --verbose command line options are used, see {{Internal|Project log4j Debugging on --verbose|Project log4j Debugging on --verbose}} |
Revision as of 05:16, 23 July 2017
Internal
Overview
A pattern that consists in accepting alternative log4j configuration for applications that run in background. The application rely on a base log4j configuration file, usually shipped as part of the application's installation bundle, but it can change its logging behavior based on logging configuration present in the application's configuration file. Configuration that comes from the application's configuration file takes priority over configuration stored in log4j.xml.
For command-line utilities that run in foreground and want to route their all log4j logging information to stderr if -v or --verbose command line options are used, see