mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
change XS log file name from vmops.log to cloud.log
This commit is contained in:
parent
e8c32c7f5b
commit
733102c742
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
/var/log/cloud/vmops.log {
|
/var/log/cloud/cloud.log {
|
||||||
daily
|
daily
|
||||||
size 1M
|
size 1M
|
||||||
rotate 20
|
rotate 20
|
||||||
|
|||||||
@ -37,14 +37,14 @@ import cloudstack_pluginlib as lib
|
|||||||
import logging
|
import logging
|
||||||
from util import CommandException
|
from util import CommandException
|
||||||
|
|
||||||
lib.setup_logging("/var/log/cloud/vmops.log")
|
lib.setup_logging("/var/log/cloud/cloud.log")
|
||||||
|
|
||||||
def echo(fn):
|
def echo(fn):
|
||||||
def wrapped(*v, **k):
|
def wrapped(*v, **k):
|
||||||
name = fn.__name__
|
name = fn.__name__
|
||||||
logging.debug("#### VMOPS enter %s ####" % name )
|
logging.debug("#### CLOUD enter %s ####" % name )
|
||||||
res = fn(*v, **k)
|
res = fn(*v, **k)
|
||||||
logging.debug("#### VMOPS exit %s ####" % name )
|
logging.debug("#### CLOUD exit %s ####" % name )
|
||||||
return res
|
return res
|
||||||
return wrapped
|
return wrapped
|
||||||
|
|
||||||
|
|||||||
@ -41,7 +41,7 @@ import random
|
|||||||
import cloudstack_pluginlib as lib
|
import cloudstack_pluginlib as lib
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
lib.setup_logging("/var/log/cloud/vmops.log")
|
lib.setup_logging("/var/log/cloud/cloud.log")
|
||||||
|
|
||||||
VHDUTIL = "vhd-util"
|
VHDUTIL = "vhd-util"
|
||||||
VHD_PREFIX = 'VHD-'
|
VHD_PREFIX = 'VHD-'
|
||||||
@ -50,9 +50,9 @@ CLOUD_DIR = '/var/run/cloud_mount'
|
|||||||
def echo(fn):
|
def echo(fn):
|
||||||
def wrapped(*v, **k):
|
def wrapped(*v, **k):
|
||||||
name = fn.__name__
|
name = fn.__name__
|
||||||
logging.debug("#### VMOPS enter %s ####" % name )
|
logging.debug("#### CLOUD enter %s ####" % name )
|
||||||
res = fn(*v, **k)
|
res = fn(*v, **k)
|
||||||
logging.debug("#### VMOPS exit %s ####" % name )
|
logging.debug("#### CLOUD exit %s ####" % name )
|
||||||
return res
|
return res
|
||||||
return wrapped
|
return wrapped
|
||||||
|
|
||||||
|
|||||||
@ -31,14 +31,14 @@ import socket
|
|||||||
import cloudstack_pluginlib as lib
|
import cloudstack_pluginlib as lib
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
lib.setup_logging("/var/log/cloud/vmops.log")
|
lib.setup_logging("/var/log/cloud/cloud.log")
|
||||||
|
|
||||||
def echo(fn):
|
def echo(fn):
|
||||||
def wrapped(*v, **k):
|
def wrapped(*v, **k):
|
||||||
name = fn.__name__
|
name = fn.__name__
|
||||||
logging.debug("#### VMOPS enter %s ####" % name )
|
logging.debug("#### CLOUD enter %s ####" % name )
|
||||||
res = fn(*v, **k)
|
res = fn(*v, **k)
|
||||||
logging.debug("#### VMOPS exit %s ####" % name )
|
logging.debug("#### CLOUD exit %s ####" % name )
|
||||||
return res
|
return res
|
||||||
return wrapped
|
return wrapped
|
||||||
|
|
||||||
|
|||||||
@ -41,7 +41,7 @@ import random
|
|||||||
import cloudstack_pluginlib as lib
|
import cloudstack_pluginlib as lib
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
lib.setup_logging("/var/log/cloud/vmops.log")
|
lib.setup_logging("/var/log/cloud/cloud.log")
|
||||||
|
|
||||||
VHDUTIL = "vhd-util"
|
VHDUTIL = "vhd-util"
|
||||||
VHD_PREFIX = 'VHD-'
|
VHD_PREFIX = 'VHD-'
|
||||||
@ -50,9 +50,9 @@ CLOUD_DIR = '/var/run/cloud_mount'
|
|||||||
def echo(fn):
|
def echo(fn):
|
||||||
def wrapped(*v, **k):
|
def wrapped(*v, **k):
|
||||||
name = fn.__name__
|
name = fn.__name__
|
||||||
logging.debug("#### VMOPS enter %s ####" % name )
|
logging.debug("#### CLOUD enter %s ####" % name )
|
||||||
res = fn(*v, **k)
|
res = fn(*v, **k)
|
||||||
logging.debug("#### VMOPS exit %s ####" % name )
|
logging.debug("#### CLOUD exit %s ####" % name )
|
||||||
return res
|
return res
|
||||||
return wrapped
|
return wrapped
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user