Detect log file renaming and reopen log file. (for log rotation)