add log for linux