Code

Added verbosity infos.
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 Mar 2008 16:01:29 +0000 (16:01 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 Mar 2008 16:01:29 +0000 (16:01 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9687 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-server

index fdcb31b3686dc60a52fc9efa4f91404f0cd1b120..88d672fbe38dcd1dd2ae74a104ae5e451a0d8c2b 100755 (executable)
@@ -1689,12 +1689,12 @@ sub create_fai_release_db {
                                        }
                                }
                        }
-                       daemon_log("Inserting entries to DB",6);
+                       daemon_log("DEBUG: Inserting ".scalar @sql_list." entries to DB",6);
                        if(@sql_list) {
                                unshift @sql_list, "DELETE FROM $table_name";
                                $fai_server_db->exec_statementlist(\@sql_list);
                        }
-                       daemon_log("Done with inserting",6);
+                       daemon_log("DEBUG: Done with inserting",6);
                }
                daemon_log("INFO: create_fai_release_db: finished",5);
        }
@@ -1754,14 +1754,14 @@ sub resolve_fai_classes {
        my $fai_filter= "(|(&(objectClass=FAIclass)(|(objectClass=".join(")(objectClass=", @possible_fai_classes).")))(objectClass=FAIbranch))";
        my $fai_classes;
 
-       daemon_log("Searching for FAI entries in base $fai_base",6);
+       daemon_log("DEBUG: Searching for FAI entries in base $fai_base",6);
        my $mesg= $ldap_handle->search(
                base   => $fai_base,
                scope  => 'sub',
                attrs  => ['cn','objectClass','FAIstate'],
                filter => $fai_filter,
        );
-       daemon_log("Found ".$mesg->count()." FAI entries",6);
+       daemon_log("DEBUG: Found ".$mesg->count()." FAI entries",6);
 
        if($mesg->{'resultCode'} == 0 &&
                $mesg->count != 0) {