ucloud now logs to /etc/ucloud/log.txt, delete network interfaces on stopping of VMs
This commit is contained in:
parent
abc2c6fe51
commit
ad87982cf0
3 changed files with 51 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue