Cleanup of logs