If Log4j fails to write the log file due to a reason like disk-full or any other OS issue, it does not throw an exception.
How do we handle such a scenario, in my case, the java process should be self terminated if it fails to write the log file.
If Log4j fails to write the log file due to a reason like disk-full or any other OS issue, it does not throw an exception.
How do we handle such a scenario, in my case, the java process should be self terminated if it fails to write the log file.