minor tweaks to logging. Still need to do it right

This commit is contained in:
Stephen McQuay 2011-03-21 17:25:43 -06:00
parent 54bf66f0fd
commit 86145803d4

View File

@ -7,7 +7,7 @@ import inspect
import numpy as np import numpy as np
def get_logger(filename, level = logging.DEBUG, logger_name = 'pymoab', size = 2048, backupCount = 10): def get_logger(filename, level = logging.DEBUG, logger_name = 'interp', size = 2048, backupCount = 10):
""" """
This is a simple wrapper around a few sane This is a simple wrapper around a few sane
defaults using Python's logging functionality. defaults using Python's logging functionality.
@ -30,7 +30,7 @@ def get_logger(filename, level = logging.DEBUG, logger_name = 'pymoab', size = 2
return logger return logger
log = get_logger(filename = '/tmp/interp.log', level = logging.DEBUG, size = 10240) log = get_logger(filename = '/tmp/interp.log', level = logging.INFO, size = 10240)
def rms(errors): def rms(errors):
""" """