From f9dbdc730a1ab16813de47b0c48b324bdea5960e Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 7 Dec 2019 14:15:48 +0100 Subject: [PATCH] Remove logging configuration Leave it to the OS/env to set this up. Fixes #6 --- scripts/ucloud | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/scripts/ucloud b/scripts/ucloud index 7be6b24..d700d79 100755 --- a/scripts/ucloud +++ b/scripts/ucloud @@ -17,13 +17,6 @@ if __name__ == "__main__": arg_parser.add_argument('component_args', nargs='*') args = arg_parser.parse_args() - logging.basicConfig( - level=logging.DEBUG, - filename=join_path("/", "etc", "ucloud", "log.txt"), - filemode="a", - format="%(name)s %(asctime)s: %(levelname)s - %(message)s", - datefmt="%d-%b-%y %H:%M:%S", - ) try: check() @@ -56,4 +49,4 @@ if __name__ == "__main__": except Exception as e: logging.exception(e) - print(e) \ No newline at end of file + print(e)