Skip to content

Commit f047fa1

Browse files
author
wuaq
committed
[BugFix: ZSTACK-35079]
change log dir to /var/log/zstack to compress,to prevent the system dir /tmp from becoming full
1 parent 88c27b8 commit f047fa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zstackctl/zstackctl/ctl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5773,7 +5773,7 @@ def get_vrouter_log(self, host_post_info, collect_dir):
57735773
info_verbose("Collecting log from vrouter: %s ..." % host_post_info.host)
57745774
for vrouter_log_dir in CollectLogCmd.vrouter_log_dir_list:
57755775
local_collect_dir = collect_dir + 'vrouter-%s/' % host_post_info.host
5776-
tmp_log_dir = "/tmp/tmp-log/"
5776+
tmp_log_dir = "/var/log/zstack/tmp-log/"
57775777
command = "mkdir -p %s " % tmp_log_dir
57785778
run_remote_command(command, host_post_info)
57795779
command = "/opt/vyatta/sbin/vyatta-save-config.pl && cp /config/config.boot %s" % tmp_log_dir

0 commit comments

Comments
 (0)