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.