Ironically the catastrophic recursion log write is caused by catastrophic recursion detected. It detects the recursion, writes it to log, and exits. The problem with this is that the recursion keeps happening, except now it's affecting log writes instead of other things. Yes, I'm pissed that this is how it works. In general if you're expecting anything in the code base to make sense you are wasting your time.