Reopen log file only once after SIGHUP