Under some circumstances the logging could be invoked recursively. This could for example happen when a signal happens inside logger itself. This could cause infinite loop or a deadlock
This ticket is to implement a simple check in logger for recursive invocation. If that happens, the log message must be echoed to stderr and not logged normally.
- is depended on by
SERVER-66368 Don't call LOGV2 in the boost logging exception handler
- split to
SERVER-66562 Audit, document all functions accessed by sync signal handlers