Stop neo4j for spamming into the debug log

main
Alexander Neff 2024-03-21 19:02:32 +01:00
parent ae158614e6
commit 39bf9b109c
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ def main():
else:
nxc_logger.logger.setLevel(logging.ERROR)
root_logger.setLevel(logging.ERROR)
logging.getLogger("neo4j").setLevel(logging.ERROR)
# if these are the same, it might double log to file (two FileHandlers will be added)
# but this should never happen by accident