Set logger to ERROR
This commit is contained in:
parent
b843ea72e6
commit
491bda882d
|
@ -108,7 +108,7 @@ class NodeRedMeterEinspeisung:
|
|||
def main():
|
||||
logging.basicConfig( format='%(asctime)s,%(msecs)d %(name)s %(levelname)s %(message)s',
|
||||
datefmt='%Y-%m-%d %H:%M:%S',
|
||||
level=logging.DEBUG,
|
||||
level=logging.ERROR,
|
||||
handlers=[
|
||||
logging.FileHandler("%s/current.log" % (os.path.dirname(os.path.realpath(__file__)))),
|
||||
logging.StreamHandler()
|
||||
|
|
Loading…
Reference in New Issue