Try to fix a recursive crash in PearlLogger.

[FIXED]     Hopefully fixed a weird case where we still recurse when logging from a log listener.