Changeset 3668


Ignore:
Timestamp:
Feb 19, 2011 9:05:00 AM (9 years ago)
Author:
wehart
Message:

Change to use logger instead of Logger

Location:
coopr.pysp/trunk/coopr/pysp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • coopr.pysp/trunk/coopr/pysp/log_config.py

    r3666 r3668  
    88coopr_base = dirname(dirname(dirname(dirname(abspath(__file__)))))
    99
    10 Logger = logging.getLogger('coopr.pysp')
    11 Logger.addHandler( LogHandler(coopr_base) )
    12 Logger.setLevel( logging.WARNING )
     10logger = logging.getLogger('coopr.pysp')
     11logger.addHandler( LogHandler(coopr_base) )
     12logger.setLevel( logging.WARNING )
  • coopr.pysp/trunk/coopr/pysp/ph.py

    r3666 r3668  
    3838from pyutilib.component.core import ExtensionPoint
    3939
    40 Logger = logging.getLogger('coopr.pysp')
     40logger = logging.getLogger('coopr.pysp')
    4141
    4242class ProgressiveHedging(object):
     
    499499      for key in kwds.keys():
    500500         msg = "PH constructor received Unknown option: %s"
    501          Logger.warning( msg % key )
     501         logger.warning( msg % key )
    502502
    503503      # validate all "atomic" options (those that can be validated independently)
Note: See TracChangeset for help on using the changeset viewer.