add log for offline