RotatingFileHandler Fails

arun1 arun.sathyan at ust-global.com
Wed Mar 7 08:20:22 EST 2012


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.



More information about the Python-list mailing list