Is log4j a reliable logging system?
No. log4j is not reliable. It is a best-effort fail-stop logging system. By fail-stop, we mean that log4j will not throw unexpected exceptions at run-time potentially causing your application to crash. If for any reason, log4j throws an uncaught exception, please send an email to the log4j-user@logging.apache.org mailing list. Uncaught exceptions are handled as serious bugs requiring immediate attention. Moreover, log4j will not revert to System.out or System.err when its designated output stream is not opened, is not writable or becomes full. This avoids corrupting an otherwise working program by flooding the user’s terminal because logging fails. However, log4j will output a single message to System.err indicating that logging can not be performed.
Related Questions
- Ive tried logging in several times, but the system wont let me in. What is the problem?
- What is the new two-step process for logging into the Web review system?
- What is the new two-step process for logging into the Web review system?
- Is log4j a reliable logging system?
- Why a logging system ?
- Why a logging system ?