added LOG_INTERVAL