ucloud now logs to /etc/ucloud/log.txt, delete network interfaces on stopping of VMs

This commit is contained in:
ahmadbilalkhalid 2019-12-05 18:30:41 +05:00
commit ad87982cf0
3 changed files with 51 additions and 1 deletions

View file

@ -19,7 +19,7 @@ if __name__ == "__main__":
logging.basicConfig(
level=logging.DEBUG,
filename=join_path("logs.txt"),
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",