I just upgraded from 0.27 to the current development version, and I did not at first have config/loglevel or config/logging. This causes an infinite loop between the trace_level(), log(), and varlog() methods, which leads to a "deep recursion" message and "out of memory" death.

It seems that the culprit is this line in trace_level():

   $self->log(LOGINFO, "Loaded default logger");

When that line is executed, it calls log(), which calls varlog(), which calls trace_level(), and there's the loop -- trace_level() only gets called again if there's no logging plugin loaded. It looks like the loop would happen whenever config/logging is missing, whether config/loglevel exists or not.

Should that line just be deleted? The message doesn't seem relevant to to what's happening there anyway.

--
Keith C. Ivey <[EMAIL PROTECTED]>
Washington, DC

Reply via email to