(RADIATOR) <Log SQL> on Radiator 3.6

Jacob Leaver jleaver at reachone.com
Fri Sep 19 18:34:34 CDT 2003


I was putting together a troubleshooting tool for our staff, and was looking
to use <Log SQL> to help with that.
I was having a devil of a time getting it to work for me, so I took a look
at the code.
Line 54(ish) of LogSQL.pm reads:

    # Catch recursion
    return if $in_log ++;

Would this not always be true?   Perhaps this needs to read more like:

    # Catch recursion
    return if $in_log > 1;
    $in_log ++;

At least, when I updated the code to read as above, logs started happening.

Jacob


===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list