Does not works in Python 2.7 (Windows)
Bug #1265150 reported by
q88798
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Concurrent Log Handler for Python |
New
|
Undecided
|
Unassigned |
Bug Description
The following code from the simple example simply hang:-
from logging import getLogger, INFO
from cloghandler import ConcurrentRotat
import os
log = getLogger()
# Use an absolute path to prevent file rotation trouble.
logfile = os.path.
# Rotate log after reaching 512K, keep 5 old copies.
rotateHandler = ConcurrentRotat
log.addHandler(
log.setLevel(INFO)
log.info("Here is a very exciting log message, just for you") # <-- hang over here
Environment:-
Windows 7
Python 2.7.5 (32-bit)
ConcurrentLogHa
To post a comment you must log in.
Doesn't work in Python 3.4 either.
The log entries aren't flushed and/or it stucks the python script. Probably something isn't released properly.
Are there chances that this will ever be corrected ?