[Prev] Thread [Next]  |  [Prev] Date [Next]

[mochikit] Re: How to set log level of default logger? Per Cederberg Thu Nov 27 11:00:40 2008

Actually, I don't think it is possible (from reading only the
documentation). The log filtering is only applied to listeners. But
even they cannot affect what is being sent to the native console.

I think you'd have to assign some of the log* methods to
MochiKit.Base.noop in order to silence their log messages. Or replace
the default logger with your own.

Now, I'm planning to revamp the logging sometime to alleviate issues
like this. While not breaking backwards compability I hope. But if you
are interested, feel free to send patches to the list.



On Thu, Nov 27, 2008 at 4:36 PM, Bjoern <[EMAIL PROTECTED]> wrote:
> Another basic question, but maybe you could also understand it as a
> "documentation bug": I have a hard time to understand how to set the
> log level of the default logger?
> How can I access the "default logger"? And actually how are
> "listeners" and the LoggingPane related - is a LoggingPane a listener?
> I guess I don't understand the Logging framework at all, except that
> when I write log("something") it appears in firebug and/or the
> LoggingPane...
> >

You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at