close old log files on logging reinitialization