Displaying 1 result from an estimated 1 matches for "rsyslog_config".
2010 Oct 26
0
[PATCH node] add logging.py
...scripts/logging.py b/scripts/logging.py
new file mode 100755
index 0000000..6a32b7a
--- /dev/null
+++ b/scripts/logging.py
@@ -0,0 +1,89 @@
+#!/usr/bin/python
+#
+# Configures the rsyslog daemon.
+
+import os
+import sys
+from ovirtfunctions import *
+
+RSYSLOG_FILE="/etc/rsyslog.conf"
+
+RSYSLOG_CONFIG_TEMPLATE = """
+#ovirt rsyslog config file
+
+#### MODULES ####
+\$ModLoad imuxsock.so # provides support for local system logging (e.g. via logger command)
+\$ModLoad imklog.so # provides kernel logging support (previously done by rklogd)
+
+#### GLOBAL DIRECTIVES ####
+# Us...