From 28b83af7cf16944d7d26f81f9dd2dbf1a2d1652b Mon Sep 17 00:00:00 2001 From: Farid Zakaria Date: Sat, 6 Apr 2024 05:12:45 +0000 Subject: [PATCH] Added logging config to docker2sqlelf.py --- tools/docker2sqlelf.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/docker2sqlelf.py b/tools/docker2sqlelf.py index 1463f45..735b87c 100755 --- a/tools/docker2sqlelf.py +++ b/tools/docker2sqlelf.py @@ -79,6 +79,12 @@ def cleanup() -> None: if __name__ == "__main__": + # Setup the logging config + logging.basicConfig( + level=logging.INFO, + format="%(asctime)s %(levelname)-8s [%(filename)s:%(lineno)d] %(message)s", + ) + parser = argparse.ArgumentParser( description="Convert docker image to sqlelf database." )