Author: duncan
Date: Tue Aug 21 14:41:20 2007
New Revision: 9837
Log:
Changed the directory messages to _debug_ messages, so that they are only logged
Modified:
branches/rel-1/freevo/src/config.py
Modified: branches/rel-1/freevo/src/config.py
==============================================================================
--- branches/rel-1/freevo/src/config.py (original)
+++ branches/rel-1/freevo/src/config.py Tue Aug 21 14:41:20 2007
@@ -344,10 +344,6 @@
#
OS_CACHEDIR, FREEVO_CACHEDIR = make_freevodir('CACHEDIR', '/var/cache',
'/var/db', 'cache')
-print 'log: %s %s' % (OS_LOGDIR, FREEVO_LOGDIR)
-print 'static: %s %s' % (OS_STATICDIR, FREEVO_STATICDIR)
-print 'cache: %s %s' % (OS_CACHEDIR, FREEVO_CACHEDIR)
-
#
# Redirect stdout and stderr to stdout and /tmp/freevo.log
#
@@ -457,6 +453,9 @@
RUNAPP = os.environ['RUNAPP']
+_debug_('logdir: %s %s' % (OS_LOGDIR, FREEVO_LOGDIR), DINFO)
+_debug_('staticdir: %s %s' % (OS_STATICDIR, FREEVO_STATICDIR), DINFO)
+_debug_('cachedir: %s %s' % (OS_CACHEDIR, FREEVO_CACHEDIR), DINFO)
#
# Check that freevo_config.py is not found in the config file dirs
@@ -946,7 +945,6 @@
#
# create cache subdirs
#
-print 'overlay: %s' % (OVERLAY_DIR)
if not OVERLAY_DIR or OVERLAY_DIR == '/':
print
print 'ERROR: bad OVERLAY_DIR.'
@@ -962,6 +960,7 @@
# concat is much faster
if OVERLAY_DIR and OVERLAY_DIR.endswith('/'):
OVERLAY_DIR = OVERLAY_DIR[:-1]
+_debug_('overlaydir: %s' % (OVERLAY_DIR), DINFO)
if not os.path.isdir(OVERLAY_DIR + '/disc'):
os.makedirs(OVERLAY_DIR + '/disc')
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog