[asterisk-commits] mjordan: testsuite/asterisk/trunk r3287 - /asterisk/trunk/lib/python/asterisk/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Jul 1 14:48:59 CDT 2012


Author: mjordan
Date: Sun Jul  1 14:48:56 2012
New Revision: 3287

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3287
Log:
Use the correct name for the logging configuration file

Modified:
    asterisk/trunk/lib/python/asterisk/TestRunner.py

Modified: asterisk/trunk/lib/python/asterisk/TestRunner.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/lib/python/asterisk/TestRunner.py?view=diff&rev=3287&r1=3286&r2=3287
==============================================================================
--- asterisk/trunk/lib/python/asterisk/TestRunner.py (original)
+++ asterisk/trunk/lib/python/asterisk/TestRunner.py Sun Jul  1 14:48:56 2012
@@ -233,7 +233,7 @@
         args = sys.argv
 
     # Set up logging - we're probably the first ones run!
-    logConfigFile = os.path.join(os.getcwd(), "%s" % 'LOGGER.conf')
+    logConfigFile = os.path.join(os.getcwd(), "%s" % 'logger.conf')
     if os.path.exists(logConfigFile):
         try:
             logging.config.fileConfig(logConfigFile, None, False)
@@ -242,7 +242,8 @@
             "logging statements may be missing"
             logging.config.fileConfig(logConfigFile)
     else:
-        print "WARNING: no logging.conf file found; using default configuration"
+        print "WARNING: no logging.conf file found at %s; using default " \
+        " configuration" % (logConfigFile)
         logging.basicConfig()
 
     if (len(args) < 2):




More information about the asterisk-commits mailing list