stop reading from closed file handles
don't log if there is no logging configuration