summaryrefslogtreecommitdiff
path: root/security/hostsentry/files/patch-hostSentryLog
diff options
context:
space:
mode:
Diffstat (limited to 'security/hostsentry/files/patch-hostSentryLog')
-rw-r--r--security/hostsentry/files/patch-hostSentryLog24
1 files changed, 24 insertions, 0 deletions
diff --git a/security/hostsentry/files/patch-hostSentryLog b/security/hostsentry/files/patch-hostSentryLog
new file mode 100644
index 000000000000..ce02c7ba3ae2
--- /dev/null
+++ b/security/hostsentry/files/patch-hostSentryLog
@@ -0,0 +1,24 @@
+--- hostSentryLog.py.orig Sat Jul 3 21:56:35 2004
++++ hostSentryLog.py Sat Jul 3 21:56:40 2004
+@@ -26,7 +26,7 @@
+ #
+ # $Id: hostSentryLog.py,v 1.1 1999/03/22 04:56:44 crowland Exp crowland $
+
+-from hostSentryCore import *
++#from hostSentryCore import *
+ import sys
+ import syslog
+ import hostSentryConfig
+@@ -44,10 +44,9 @@
+ if priority == '':
+ priority = syslog.LOG_INFO
+
+- syslog.openlog('hostSentry', syslog.LOG_PID, priority)
+- syslog.syslog(message)
++ syslog.openlog('hostSentry', syslog.LOG_PID, syslog.LOG_LOCAL1)
++ syslog.syslog(priority, message)
+ syslog.closelog()
+-
+
+ if __name__ == '__main__':
+ log('Test log message')