minor tweaks to logging. Still need to do it right
This commit is contained in:
parent
54bf66f0fd
commit
86145803d4
@ -7,7 +7,7 @@ import inspect
|
||||
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
|
||||
defaults using Python's logging functionality.
|
||||
@ -30,7 +30,7 @@ def get_logger(filename, level = logging.DEBUG, logger_name = 'pymoab', size = 2
|
||||
|
||||
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):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user