Set logger to ERROR

This commit is contained in:
Carsten Schmiemann 2022-08-10 12:09:55 +02:00
parent b843ea72e6
commit 491bda882d
1 changed files with 1 additions and 1 deletions

View File

@ -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()