OSSP CVS Repository

ossp - Check-in [386]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 386
Date: 2001-Feb-12 21:44:13 (local)
2001-Feb-12 20:44:13 (UTC)
User:simons
Branch:
Comment: Changed loglevel of sereval syslog() calls from NOTICE to INFO, because they do not really require the administrator's attention but are informational.
Tickets:
Inspections:
Files:
ossp-pkg/petidomo/help.c      1.8 -> 1.9     2 inserted, 2 deleted
ossp-pkg/petidomo/hermes.c      1.18 -> 1.19     7 inserted, 7 deleted
ossp-pkg/petidomo/listserv.c      1.7 -> 1.8     1 inserted, 2 deleted
ossp-pkg/petidomo/members.c      1.9 -> 1.10     3 inserted, 3 deleted
ossp-pkg/petidomo/rfcparse.c      1.4 -> 1.5     6 inserted, 6 deleted

ossp-pkg/petidomo/help.c 1.8 -> 1.9

--- help.c       2001/01/18 20:30:50     1.8
+++ help.c       2001/02/12 20:44:13     1.9
@@ -1,6 +1,6 @@
 /*
    $Source: /v/ossp/cvs/ossp-pkg/petidomo/help.c,v $
-   $Revision: 1.8 $
+   $Revision: 1.9 $
 
    Copyright (C) 2000 by CyberSolutions GmbH, Germany.
 
@@ -73,7 +73,7 @@
                 free(p);
             }
             else {
-                syslog(LOG_NOTICE, "List \"%s\" doesn't have a description.", param1);
+                syslog(LOG_INFO, "List \"%s\" doesn't have a description.", param1);
                 fprintf(fh, "No description available.\n");
             }
             CloseMailer(fh);


ossp-pkg/petidomo/hermes.c 1.18 -> 1.19

--- hermes.c     2001/01/20 14:29:28     1.18
+++ hermes.c     2001/02/12 20:44:13     1.19
@@ -1,6 +1,6 @@
 /*
    $Source: /v/ossp/cvs/ossp-pkg/petidomo/hermes.c,v $
-   $Revision: 1.18 $
+   $Revision: 1.19 $
 
    Copyright (C) 2000 by CyberSolutions GmbH, Germany.
 
@@ -125,7 +125,7 @@
 
         if (ListConfig->listtype == LIST_MODERATED)
             {
-            syslog(LOG_NOTICE, "\"%s\" tried to post to list \"%s\", but failed to " \
+            syslog(LOG_INFO, "\"%s\" tried to post to list \"%s\", but failed to " \
                    "provide a correct password.", MailStruct->From, listname);
 
             fh = vOpenMailer(envelope, owner, NULL);
@@ -156,7 +156,7 @@
 
             if (isSubscribed(listname, MailStruct->From, NULL, NULL, TRUE) == FALSE)
                 {
-                syslog(LOG_NOTICE, "\"%s\" tried to post to closed list \"%s\", but " \
+                syslog(LOG_INFO, "\"%s\" tried to post to closed list \"%s\", but " \
                        "he is no subscriber.", MailStruct->From, listname);
 
                 fh = vOpenMailer(envelope, owner, NULL);
@@ -190,7 +190,7 @@
             char* cookie;
             char* originator = (MailStruct->Reply_To) ? MailStruct->Reply_To : MailStruct->From;
 
-            syslog(LOG_NOTICE, "\"%s\" tried to post to acknowledged list \"%s\"; posting " \
+            syslog(LOG_INFO, "\"%s\" tried to post to acknowledged list \"%s\"; posting " \
                    "has been deferred.", MailStruct->From, listname);
 
             cookie = queue_posting(MailStruct, listname);
@@ -225,7 +225,7 @@
 
             if (g_is_approved)
                 {
-                syslog(LOG_NOTICE, "\"%s\" acknowledged a former posting attempt on ack-once list \"%s\"; " \
+                syslog(LOG_INFO, "\"%s\" acknowledged a former posting attempt on ack-once list \"%s\"; " \
                        "add him to the ack file and let the posting pass.", MailStruct->From, listname);
 
                 rc = add_address(ListConfig->ack_file, MailStruct->From);
@@ -250,7 +250,7 @@
                     {
                     char* cookie;
 
-                    syslog(LOG_NOTICE, "\"%s\" tried to post to ack-once list \"%s\", but is posting " \
+                    syslog(LOG_INFO, "\"%s\" tried to post to ack-once list \"%s\", but is posting " \
                            "for the first time; posting has been deferred.", MailStruct->From, listname);
 
                     cookie = queue_posting(MailStruct, listname);
@@ -280,7 +280,7 @@
                     return;
                     }
                 else
-                    syslog(LOG_NOTICE, "\"%s\" tried to post to ack-once list \"%s\" and has been found in " \
+                    syslog(LOG_INFO, "\"%s\" tried to post to ack-once list \"%s\" and has been found in " \
                            "the ack file; letting posting pass.", MailStruct->From, listname);
                 }
             }


ossp-pkg/petidomo/listserv.c 1.7 -> 1.8

--- listserv.c   2001/01/20 14:29:28     1.7
+++ listserv.c   2001/02/12 20:44:13     1.8
@@ -1,6 +1,6 @@
 /*
    $Source: /v/ossp/cvs/ossp-pkg/petidomo/listserv.c,v $
-   $Revision: 1.7 $
+   $Revision: 1.8 $
 
    Copyright (C) 2000 by CyberSolutions GmbH, Germany.
 
@@ -84,7 +84,6 @@
 
     g_currLine = MailStruct->Body;
     if (*g_currLine == '\0') {
-        syslog(LOG_NOTICE, "Received mail with empty body.");
         SendHelp(MailStruct, NULL, NULL, default_list);
         return;
     }


ossp-pkg/petidomo/members.c 1.9 -> 1.10

--- members.c    2001/01/19 14:56:33     1.9
+++ members.c    2001/02/12 20:44:13     1.10
@@ -1,6 +1,6 @@
 /*
    $Source: /v/ossp/cvs/ossp-pkg/petidomo/members.c,v $
-   $Revision: 1.9 $
+   $Revision: 1.10 $
 
    Copyright (C) 2000 by CyberSolutions GmbH, Germany.
 
@@ -54,7 +54,7 @@
       listname = defaultlist;
 
     if (address == NULL || listname == NULL) {
-        syslog(LOG_NOTICE, "%s: members-command invalid: No list specified.",
+        syslog(LOG_INFO, "%s: members-command invalid: No list specified.",
             MailStruct->From);
         return 0;
     }
@@ -70,7 +70,7 @@
     if (isValidAdminPassword(getPassword(), listname) == FALSE &&
         ListConfig->allowmembers == FALSE) {
 
-        syslog(LOG_NOTICE, "MEMBERS command from \"%s\" has been denied.", address);
+        syslog(LOG_INFO, "MEMBERS command from \"%s\" has been denied.", address);
         fh = vOpenMailer(envelope, address, owner, NULL);
         if (fh != NULL) {
             fprintf(fh, "From: %s-request@%s (Petidomo Mailing List Server)\n",


ossp-pkg/petidomo/rfcparse.c 1.4 -> 1.5

--- rfcparse.c   2001/01/18 20:30:50     1.4
+++ rfcparse.c   2001/02/12 20:44:13     1.5
@@ -1,6 +1,6 @@
 /*
    $Source: /v/ossp/cvs/ossp-pkg/petidomo/rfcparse.c,v $
-   $Revision: 1.4 $
+   $Revision: 1.5 $
 
    Copyright (C) 2000 by CyberSolutions GmbH, Germany.
 
@@ -271,7 +271,7 @@
 
         if (strncasecmp("From:", currLine, strlen("From:")) == 0) {
             if (MailStruct->From != NULL) {
-                syslog(LOG_NOTICE, "Received mail with multiple From: lines.");
+                syslog(LOG_INFO, "Received mail with multiple From: lines.");
                 continue;
             }
             MailStruct->From = &currLine[strlen("From:")];
@@ -281,7 +281,7 @@
             CanonizeAddress(&(MailStruct->From), fqdn);
         } else if (strncasecmp("Reply-To:", currLine, strlen("Reply-To:")) == 0) {
             if (MailStruct->Reply_To != NULL) {
-                syslog(LOG_NOTICE, "Received mail with multiple Reply-To: lines.");
+                syslog(LOG_INFO, "Received mail with multiple Reply-To: lines.");
                 continue;
             }
             MailStruct->Reply_To = &currLine[strlen("Reply-To:")];
@@ -301,7 +301,7 @@
         }
         else if (strncasecmp("Approve:", currLine, strlen("Approve:")) == 0) {
             if (MailStruct->Approve != NULL)
-              syslog(LOG_NOTICE, "Received mail with multiple Approve: lines.");
+              syslog(LOG_INFO, "Received mail with multiple Approve: lines.");
             MailStruct->Approve = &currLine[strlen("Approve:")];
             rc = ParseApproveLine(MailStruct->Approve);
             if (rc != 0)
@@ -309,7 +309,7 @@
         }
         else if (strncasecmp("Approved:", currLine, strlen("Approved:")) == 0) {
             if (MailStruct->Approve != NULL)
-              syslog(LOG_NOTICE, "Received mail with multiple Approve: lines.");
+              syslog(LOG_INFO, "Received mail with multiple Approve: lines.");
             MailStruct->Approve = &currLine[strlen("Approved:")];
             rc = ParseApproveLine(MailStruct->Approve);
             if (rc != 0)
@@ -317,7 +317,7 @@
         }
         else if (strncasecmp("Subject:", currLine, strlen("Subject:")) == 0) {
             if (MailStruct->Subject != NULL)
-              syslog(LOG_NOTICE, "Received mail with multiple Subject: lines.");
+              syslog(LOG_INFO, "Received mail with multiple Subject: lines.");
             MailStruct->Subject = &currLine[strlen("Subject:")];
             if (*MailStruct->Subject == ' ')
               MailStruct->Subject += 1;

CVSTrac 2.0.1