From: <ou...@us...> - 2003-06-30 20:42:25
|
Update of /cvsroot/freevo/freevo/src/tv In directory sc8-pr-cvs1:/tmp/cvs-serv3942 Modified Files: record_daemon.py Log Message: 800k of log files is a bit much... make it quiet unless debug is on. Index: record_daemon.py =================================================================== RCS file: /cvsroot/freevo/freevo/src/tv/record_daemon.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** record_daemon.py 5 May 2003 01:19:48 -0000 1.7 --- record_daemon.py 30 Jun 2003 20:42:23 -0000 1.8 *************** *** 27,33 **** def log(s=''): ! fd = open(LOG_FILE, 'a') ! fd.write(s + '\n') ! fd.close() --- 27,34 ---- def log(s=''): ! if config.DEBUG: ! fd = open(LOG_FILE, 'a') ! fd.write(s + '\n') ! fd.close() |