From 594ca1f2565a712d9d3b041a6b7a477a287e5cba Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Sun, 24 Feb 2013 20:14:20 +0000 Subject: [PATCH] Changed the logging target of auxiliary IANA and RFC-Ed sync scripts from LOG_LOCAL0 to LOG_USER, matching what we've already used elsewhere for datatracker logging. - Legacy-Id: 5453 --- ietf/bin/email-sync-discrepancies | 2 +- ietf/bin/expire-ids | 2 +- ietf/bin/expire-last-calls | 2 +- ietf/bin/iana-changes-updates | 2 +- ietf/bin/iana-protocols-updates | 2 +- ietf/bin/iana-review-email | 2 +- ietf/bin/rfc-editor-index-updates | 2 +- ietf/bin/rfc-editor-queue-updates | 2 +- ietf/bin/send-scheduled-mail | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/ietf/bin/email-sync-discrepancies b/ietf/bin/email-sync-discrepancies index 8f01fcbcf..ac9122c18 100755 --- a/ietf/bin/email-sync-discrepancies +++ b/ietf/bin/email-sync-discrepancies @@ -21,7 +21,7 @@ parser.add_option("-t", "--to", dest="to", options, args = parser.parse_args() -syslog.openlog(os.path.basename(__file__), syslog.LOG_PID, syslog.LOG_LOCAL0) +syslog.openlog(os.path.basename(__file__), syslog.LOG_PID, syslog.LOG_USER) from ietf.sync.mails import email_discrepancies diff --git a/ietf/bin/expire-ids b/ietf/bin/expire-ids index c95b46365..0437bb148 100755 --- a/ietf/bin/expire-ids +++ b/ietf/bin/expire-ids @@ -7,7 +7,7 @@ from ietf import settings from django.core import management management.setup_environ(settings) -syslog.openlog(os.path.basename(__file__), syslog.LOG_PID, syslog.LOG_LOCAL0) +syslog.openlog(os.path.basename(__file__), syslog.LOG_PID, syslog.LOG_USER) from ietf.idrfc.expire import * diff --git a/ietf/bin/expire-last-calls b/ietf/bin/expire-last-calls index 57b637084..d50c216a1 100755 --- a/ietf/bin/expire-last-calls +++ b/ietf/bin/expire-last-calls @@ -7,7 +7,7 @@ from ietf import settings from django.core import management management.setup_environ(settings) -syslog.openlog(os.path.basename(__file__), syslog.LOG_PID, syslog.LOG_LOCAL0) +syslog.openlog(os.path.basename(__file__), syslog.LOG_PID, syslog.LOG_USER) from ietf.idrfc.lastcall import * diff --git a/ietf/bin/iana-changes-updates b/ietf/bin/iana-changes-updates index 2c913b2fa..9c993e50a 100755 --- a/ietf/bin/iana-changes-updates +++ b/ietf/bin/iana-changes-updates @@ -41,7 +41,7 @@ end = start + datetime.timedelta(hours=23) if options.end: end = datetime.datetime.strptime(options.end, "%Y-%m-%d %H:%M:%S") -syslog.openlog(os.path.basename(__file__), syslog.LOG_PID, syslog.LOG_LOCAL0) +syslog.openlog(os.path.basename(__file__), syslog.LOG_PID, syslog.LOG_USER) from ietf.sync.iana import * diff --git a/ietf/bin/iana-protocols-updates b/ietf/bin/iana-protocols-updates index 8234b9507..7513ba589 100755 --- a/ietf/bin/iana-protocols-updates +++ b/ietf/bin/iana-protocols-updates @@ -3,7 +3,7 @@ import os, sys, re, json, datetime import syslog -syslog.openlog(os.path.basename(__file__), syslog.LOG_PID, syslog.LOG_LOCAL0) +syslog.openlog(os.path.basename(__file__), syslog.LOG_PID, syslog.LOG_USER) # boilerplate basedir = os.path.abspath(os.path.join(os.path.dirname(__file__), "../..")) diff --git a/ietf/bin/iana-review-email b/ietf/bin/iana-review-email index 71e4100e9..3d8cdcb79 100755 --- a/ietf/bin/iana-review-email +++ b/ietf/bin/iana-review-email @@ -12,7 +12,7 @@ from django.core import management management.setup_environ(settings) -syslog.openlog(os.path.basename(__file__), syslog.LOG_PID, syslog.LOG_LOCAL0) +syslog.openlog(os.path.basename(__file__), syslog.LOG_PID, syslog.LOG_USER) from ietf.sync.iana import * from ietf.doc.models import Document diff --git a/ietf/bin/rfc-editor-index-updates b/ietf/bin/rfc-editor-index-updates index 627ac91b0..02c68380f 100755 --- a/ietf/bin/rfc-editor-index-updates +++ b/ietf/bin/rfc-editor-index-updates @@ -3,7 +3,7 @@ import os, sys, re, json, datetime import syslog -syslog.openlog(os.path.basename(__file__), syslog.LOG_PID, syslog.LOG_LOCAL0) +syslog.openlog(os.path.basename(__file__), syslog.LOG_PID, syslog.LOG_USER) # boilerplate basedir = os.path.abspath(os.path.join(os.path.dirname(__file__), "../..")) diff --git a/ietf/bin/rfc-editor-queue-updates b/ietf/bin/rfc-editor-queue-updates index 22562a629..2fa5b6167 100755 --- a/ietf/bin/rfc-editor-queue-updates +++ b/ietf/bin/rfc-editor-queue-updates @@ -3,7 +3,7 @@ import os, sys, re, json, datetime import syslog -syslog.openlog(os.path.basename(__file__), syslog.LOG_PID, syslog.LOG_LOCAL0) +syslog.openlog(os.path.basename(__file__), syslog.LOG_PID, syslog.LOG_USER) # boilerplate basedir = os.path.abspath(os.path.join(os.path.dirname(__file__), "../..")) diff --git a/ietf/bin/send-scheduled-mail b/ietf/bin/send-scheduled-mail index d4d46ab41..b29f2a425 100755 --- a/ietf/bin/send-scheduled-mail +++ b/ietf/bin/send-scheduled-mail @@ -7,7 +7,7 @@ from ietf import settings from django.core import management management.setup_environ(settings) -syslog.openlog(os.path.basename(__file__), syslog.LOG_PID, syslog.LOG_LOCAL0) +syslog.openlog(os.path.basename(__file__), syslog.LOG_PID, syslog.LOG_USER) from ietf.announcements.models import ScheduledAnnouncement