another logging issue: where was debug() called?
Sorry for this rapid firing of e-mail messages, I'll go to sleep soon.... When I call debug("something") I see it in the logfile as Sat Apr 3 00:57:52 2010 [25581] (debug) something in /home/gabor/perl5/lib/perl5/Dancer.pm l. 77 I think it would be better to print the filename and line number of where I called debug() which is probably a few call-frames before. Or maybe I am just missing the context. Gabor
On Sat, Apr 3, 2010 at 1:10 AM, Gabor Szabo <szabgab@gmail.com> wrote:
I think it would be better to print the filename and line number of where I called debug() which is probably a few call-frames before. Or maybe I am just missing the context.
Nope, I think you're right. Would you mind opening a ticket for it? I think the File Logging engine hasn't been touched for a while, I've noticed a few bits that could be improved. There's a warn() statement there with no newline, which means it'll get the caller of the module, instead of yours. Thanks! S.
participants (2)
-
Gabor Szabo -
sawyer x