Correct handling of log syncing when artifacts are disabled