Code

Don't print ERROR on DEBUG message.
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 12 Mar 2009 10:50:30 +0000 (10:50 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 12 Mar 2009 10:50:30 +0000 (10:50 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13536 594d385d-05f5-0310-b6e9-bd551577e9d8

trunk/gosa-si/modules/DBsqlite.pm

index d88f0e547ab7b027c60c90f77fc6d4c3ba48ffdf..f4e442e41e6a66ffd795b6d6c42a1ac3a8569310 100644 (file)
@@ -180,7 +180,7 @@ sub add_dbentry {
                        my $sth = $self->{dbh}->prepare_cached($sql_statement);
                        $db_res = $sth->execute();
                        $sth->finish();
-                       &main::daemon_log("0 ERROR: Execution of statement '$sql_statement' succeeded!", 7);
+                       &main::daemon_log("0 DEBUG: Execution of statement '$sql_statement' succeeded!", 7);
                        $success = 1;
                };
                if($@) {
@@ -194,7 +194,7 @@ sub add_dbentry {
                                my $sth = $self->{dbh}->prepare_cached($sql_statement);
                                $db_res = $sth->execute();
                                $sth->finish();
-                               &main::daemon_log("0 ERROR: Execution of statement '$sql_statement' succeeded!", 7);
+                               &main::daemon_log("0 DEBUG: Execution of statement '$sql_statement' succeeded!", 7);
                                $success = 1;
                        };
                        if($@) {
@@ -209,7 +209,7 @@ sub add_dbentry {
                                my $sth = $self->{dbh}->prepare_cached($sql_statement);
                                $db_res = $sth->execute();
                                $sth->finish();
-                               &main::daemon_log("0 ERROR: Execution of statement '$sql_statement' succeeded!", 7);
+                               &main::daemon_log("0 DEBUG: Execution of statement '$sql_statement' succeeded!", 7);
                                $success = 1;
                        };
                        if($@) {