Close log files