Fixed logging to avoid dropping log messages upon log filename rollover/renamed