Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Our log4j configuration files are confusing. It is not clear, unless looking at code, how our configuration files for logging are supposed to be used, and for which services.
Even then, there are bugs, such as ACCUMULO-3544, because we assume we can log normally without first initializating the logging system.
We should rely on log4j's default behavior to initialize the logging based on standard configuration files. If we need to specify a different file, we should do that with the java system properties that log4j supports (-Dlog4j=...) and set those in our environment scripts.
Attachments
Issue Links
- is related to
-
ACCUMULO-2349 Accumulo should give some notification if there is no *_logger.xml file
- Resolved
- relates to
-
ACCUMULO-3544 accumulo-start uses log4j before it is initialized
- Resolved
-
ACCUMULO-3955 switch off of log4j v1.x
- Resolved
- supercedes
-
ACCUMULO-2954 Clarify properties vs. xml precedence for generic_logger and monitor_logger
- Resolved