Re: RotatingFileHandler Fails

2012-03-07 Thread arun1
Hi nac,

NTSafeLogging.py is working fine without any errors, but its not rotating
the log files as rotatingfilehandler does.
Do you have any working sample with  NTSafeLogging which rotates the log
file.

logging issue with subprocess.Popen  can be solved using  this code

import threading
lock = threading.RLock()
def acquire_lock():
lock.acquire()

def release_lock():
lock.release()

call the  acquire_lock()   at the begining  of method and release_lock() at
the end





--
View this message in context: 
http://python.6.n6.nabble.com/RotatingFileHandler-Fails-tp4542769p4554381.html
Sent from the Python - python-list mailing list archive at Nabble.com.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: RotatingFileHandler Fails

2012-03-07 Thread arun1
Hi,

Actually NonInheritedRotatingFileHandler is rotating the log files but some
times it falis and showing I/O errors while the log file limit reaches the
given size.

Thanks

Arun 


--
View this message in context: 
http://python.6.n6.nabble.com/RotatingFileHandler-Fails-tp4542769p4554781.html
Sent from the Python - python-list mailing list archive at Nabble.com.
-- 
http://mail.python.org/mailman/listinfo/python-list