iTerm2 error notification ‘Couldn't log to 2020…’
You've got an invalid or inaccessible log path.

From iTerm Preferences → Profiles → your profile → Session, disable ‘Automatically log session input to files in’ or set the path correctly using the Change button.


  


https://gitlab.com/gnachman/iterm2/issues/8672#note_284043217