Skip to content

Commit 733102c

Browse files
author
Anthony Xu
committed
change XS log file name from vmops.log to cloud.log
1 parent e8c32c7 commit 733102c

5 files changed

Lines changed: 13 additions & 13 deletions

File tree

scripts/vm/hypervisor/xenserver/cloudlog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424

2525

26-
/var/log/cloud/vmops.log {
26+
/var/log/cloud/cloud.log {
2727
daily
2828
size 1M
2929
rotate 20

scripts/vm/hypervisor/xenserver/vmops

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ import cloudstack_pluginlib as lib
3737
import logging
3838
from util import CommandException
3939

40-
lib.setup_logging("/var/log/cloud/vmops.log")
40+
lib.setup_logging("/var/log/cloud/cloud.log")
4141

4242
def echo(fn):
4343
def wrapped(*v, **k):
4444
name = fn.__name__
45-
logging.debug("#### VMOPS enter %s ####" % name )
45+
logging.debug("#### CLOUD enter %s ####" % name )
4646
res = fn(*v, **k)
47-
logging.debug("#### VMOPS exit %s ####" % name )
47+
logging.debug("#### CLOUD exit %s ####" % name )
4848
return res
4949
return wrapped
5050

scripts/vm/hypervisor/xenserver/vmopsSnapshot

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import random
4141
import cloudstack_pluginlib as lib
4242
import logging
4343

44-
lib.setup_logging("/var/log/cloud/vmops.log")
44+
lib.setup_logging("/var/log/cloud/cloud.log")
4545

4646
VHDUTIL = "vhd-util"
4747
VHD_PREFIX = 'VHD-'
@@ -50,9 +50,9 @@ CLOUD_DIR = '/var/run/cloud_mount'
5050
def echo(fn):
5151
def wrapped(*v, **k):
5252
name = fn.__name__
53-
logging.debug("#### VMOPS enter %s ####" % name )
53+
logging.debug("#### CLOUD enter %s ####" % name )
5454
res = fn(*v, **k)
55-
logging.debug("#### VMOPS exit %s ####" % name )
55+
logging.debug("#### CLOUD exit %s ####" % name )
5656
return res
5757
return wrapped
5858

scripts/vm/hypervisor/xenserver/vmopspremium

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ import socket
3131
import cloudstack_pluginlib as lib
3232
import logging
3333

34-
lib.setup_logging("/var/log/cloud/vmops.log")
34+
lib.setup_logging("/var/log/cloud/cloud.log")
3535

3636
def echo(fn):
3737
def wrapped(*v, **k):
3838
name = fn.__name__
39-
logging.debug("#### VMOPS enter %s ####" % name )
39+
logging.debug("#### CLOUD enter %s ####" % name )
4040
res = fn(*v, **k)
41-
logging.debug("#### VMOPS exit %s ####" % name )
41+
logging.debug("#### CLOUD exit %s ####" % name )
4242
return res
4343
return wrapped
4444

scripts/vm/hypervisor/xenserver/xenserver62/cloud-plugin-storage

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import random
4141
import cloudstack_pluginlib as lib
4242
import logging
4343

44-
lib.setup_logging("/var/log/cloud/vmops.log")
44+
lib.setup_logging("/var/log/cloud/cloud.log")
4545

4646
VHDUTIL = "vhd-util"
4747
VHD_PREFIX = 'VHD-'
@@ -50,9 +50,9 @@ CLOUD_DIR = '/var/run/cloud_mount'
5050
def echo(fn):
5151
def wrapped(*v, **k):
5252
name = fn.__name__
53-
logging.debug("#### VMOPS enter %s ####" % name )
53+
logging.debug("#### CLOUD enter %s ####" % name )
5454
res = fn(*v, **k)
55-
logging.debug("#### VMOPS exit %s ####" % name )
55+
logging.debug("#### CLOUD exit %s ####" % name )
5656
return res
5757
return wrapped
5858

0 commit comments

Comments
 (0)