Code

modify some daemon logs
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 13 Nov 2009 10:03:08 +0000 (10:03 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 13 Nov 2009 10:03:08 +0000 (10:03 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14809 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/modules/ArpHandler.pm

index 7f7ad2297d9f895919b781adfb000248974f69ce..210e95654f4e0231a4f6888c3a3f46d351925232 100644 (file)
@@ -359,12 +359,12 @@ sub add_ldap_entry {
                if($result->code == 68) {   # entry already exists 
                        &main::daemon_log("A WARNING: $dn ".$result->error, 3);
                } elsif($result->code == 0) {   # everything went fine
-                       &main::daemon_log("add entry $dn to ldap", 1);
+                       &main::daemon_log("A INFO: Add entry $dn to ldap", 5);
                } else {  # if any other error occur
                        &main::daemon_log("A ERROR: $dn, ".$result->code.", ".$result->error, 1);
                }
        } else {
-               &main::daemon_log("A Not adding new Entry: LDAP disabled", 6);
+               &main::daemon_log("A INFO: Not adding new Entry: LDAP disabled", 5);
        }
        return;
 }