...
Note that this recommendation does not prevent a program from opening the reopening a closed log file after it realizes that important data must be captured. While an IOException
is possible, there is little one can do when writing the data to the log file is itself under question.
...