Fixes log location for pyutils 13/55013/1
authorTim Rozet <trozet@redhat.com>
Thu, 5 Apr 2018 13:23:32 +0000 (09:23 -0400)
committerTim Rozet <trozet@redhat.com>
Thu, 5 Apr 2018 19:18:29 +0000 (19:18 +0000)
Change-Id: I03cda65f58753fc5d55ea4ede78f7d5bd8b7bdce
Signed-off-by: Tim Rozet <trozet@redhat.com>
(cherry picked from commit 4d537d8b9edf67057cc28656583bbfb7dd489779)

apex/utils.py

index cea25fe..56caaef 100644 (file)
@@ -91,7 +91,7 @@ def main():
     args = util_parser.parse_args(sys.argv[1:])
     os.makedirs(os.path.dirname('./apex_util.log'), exist_ok=True)
     formatter = '%(asctime)s %(levelname)s: %(message)s'
-    logging.basicConfig(filename='./apex_clean.log',
+    logging.basicConfig(filename='./apex_util.log',
                         format=formatter,
                         datefmt='%m/%d/%Y %I:%M:%S %p',
                         level=logging.DEBUG)