Author: dmeyer
Date: Thu Aug 17 18:42:40 2006
New Revision: 1888
Modified:
trunk/beacon/bin/beacon
Log:
add FIXME
Modified: trunk/beacon/bin/beacon
==============================================================================
--- trunk/beacon/bin/beacon (original)
+++ trunk/beacon/bin/beacon Thu Aug 17 18:42:40 2006
@@ -270,6 +270,10 @@
if os.path.dirname(logfile) and not
os.path.isdir(os.path.dirname(logfile)):
os.makedirs(os.path.dirname(logfile))
# create rotating log file with 1MB for each file with a backup of 3
+ # FIXME: RotatingFileHandler doesn't work when two processes use
+ # the same file. That needs to be fixed by either adjusting the thumbnail
+ # filename or by using the main proc log through kaa.rpc. Both solutions
+ # sucks :(
handler = RotatingFileHandler(logfile, maxBytes=1000000, backupCount=3)
f = logging.Formatter('%(asctime)s %(levelname)-8s [%(name)6s] '+\
'%(filename)s %(lineno)s: %(message)s')
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog