[XEND] Move all of the various log files created by xen to

be under /var/log/xen instead of under /var/log directly.  This has
the advantage of cleaning things up a little and also can make it
easier to restrict the permissions needed by xend.

Signed-off-by: Jeremy Katz <katzj@redhat.com>
This commit is contained in:
kaf24@localhost.localdomain committed 2006-08-28 13:05:00 +01:00
1 parent 10a74ed0a2
commit b643712258
13 files changed
+17 -16

No files matched your search

+2 -2
View File
@@ -43,8 +43,8 @@ TITLE_RE = re.compile(r'<title>(.*)</title>')
FILES_TO_SEND = [ '/var/log/' + x for x in
[ 'syslog', 'messages', 'debug',
'xend.log', 'xend-debug.log', 'xenstored-trace.log',
'xen-hotplug.log' ] ]
'xen/xend.log', 'xen/xend-debug.log', 'xen/xenstored-trace.log',
'xen/xen-hotplug.log' ] ]
#FILES_TO_SEND = [ ]
+1 -1
View File
@@ -52,7 +52,7 @@ class XendRoot:
block_script_dir = "/etc/xen/scripts"
"""Default path to the log file. """
logfile_default = "/var/log/xend.log"
logfile_default = "/var/log/xen/xend.log"
"""Default level of information to be logged."""
loglevel_default = 'DEBUG'
+2 -2
View File
@@ -39,8 +39,8 @@ def getenv(var, val, conv=None):
# The following parameters could be placed in a configuration file.
XEND_PID_FILE = '/var/run/xend.pid'
XEND_TRACE_FILE = '/var/log/xend.trace'
XEND_DEBUG_LOG = '/var/log/xend-debug.log'
XEND_TRACE_FILE = '/var/log/xen/xend.trace'
XEND_DEBUG_LOG = '/var/log/xen/xend-debug.log'
XEND_USER = 'root'
XEND_DEBUG = getenv("XEND_DEBUG", 0, conv=int)
XEND_DAEMONIZE = getenv("XEND_DAEMONIZE", not XEND_DEBUG, conv=int)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.