Displaying 2 results from an estimated 2 matches for "rsyslog_fil".
Did you mean:
rsyslog_file
2010 Oct 26
0
[PATCH node] add logging.py
...mode 100755 scripts/logging.py
diff --git a/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 don...
2009 Jun 12
1
[PATCH node] o-c-config will only run when local storage is configured. rhbz#505560
...ing
+++ b/scripts/ovirt-config-logging
@@ -8,6 +8,11 @@
trap '__st=$?; stop_log; exit $__st' 0
trap 'exit $?' 1 2 13 15
+if ! is_local_storage_configured; then
+ printf "Local storage must be configured prior to configuring the logging system.\n"
+ exit 99
+fi
+
RSYSLOG_FILE="/etc/rsyslog.conf"
# Creates the rsyslog file based on the following inputs
@@ -185,4 +190,3 @@ else
printf "\n\n Logging Configuration\n\n"
prompt_user
fi
-
--
1.6.0.6