On Fri, 03 Dec 2004 09:40:07 +, Vinay Sajip wrote:
> Of course, you should not normally be calling emit() from user code. The
> correct approach is to log events to loggers, and not emit them to
> handlers directly.
Thanks, I finally got that figured out. Lots changed between the time I
Thanks to Robert Brewer, I got enough insight into logging to make it work
Now I have another issue: file locking. Sorry if this is a very basic
question, but I can't find a handy reference anywhere that mentions this.
When a logger opens a log file for append, is it automatically locked so
I'm having a problem with logging. I have an older app that used the
RotatingFileHandler before it became part of the main distribution (I
guess in 2.3).
It worked fine then. Now I get:
[EMAIL PROTECTED] bin]# ./mplayer.py file://test.avi
//test.avi
Traceback (most recent call last):
File "./