logging-log4j1
logging-log4j1 copied to clipboard
#Bug 58062 Close IO Streams in finally statement
Place the close method in the finally clause, so we can ensure it always runs regardless of how the method exits.
Hi, thanks for the contribution! While this looks like a good improvement, log4j 1.x is end-of-life so this kind of maintenance is not being done unless it fixes a critical security issue, which I think is not the case here. See https://logging.apache.org/log4j/1.2/ for more information. I think this PR can be closed.