Logging: Report setModTime failures.

Ths may be helpful for #2252 and maybe even #2431.