Remove logging configuration

Leave it to the OS/env to set this up.

Fixes #6
This commit is contained in:
Nico Schottelius 2019-12-07 14:15:48 +01:00
parent 2244b94fd8
commit f9dbdc730a

View file

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