Home GnuPG
Diffusion GpgOL 5156d7b1da1f

Log if logging fails

Description

Log if logging fails

* src/debug.cpp (lock_log): Do not wait infinite for
log lock.
(do_log): Log to debug output if obtaining the log lock failed.

I do not see how this can fail. But still an infinite wait
should be avoided and the failure handled at least with a
short note.

Details

Provenance
aheineckeAuthored on Sep 24 2018, 10:02 AM
Parents
rO635ff920f8c2: Start simplification of log categories
Branches
Unknown
Tags
Unknown