From: rettenbe Date: Tue, 24 Mar 2009 13:41:28 +0000 (+0000) Subject: * set explicit daemon_log level for get_ldap_handle at gosa-si-server X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=887319dec59b8a00785f1e6dfebc07ae0108bb72;p=gosa.git * set explicit daemon_log level for get_ldap_handle at gosa-si-server git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13565 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server index 3c6574574..bf920d64b 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -1249,7 +1249,8 @@ sub msg_to_decrypt { if ($source eq "GOSA") { $msg =~ s/<\/xml>/$local_address,$session_id<\/forward_to_gosa><\/xml>/; } - &send_msg_to_target($msg, $regserver, $regserver_key, $header, $session_id); + my $error= &send_msg_to_target($msg, $regserver, $regserver_key, $header, $session_id); +print STDERR "/n$error/n/n"; } $done = 1; &daemon_log("$session_id DEBUG: target is a client address in foreign_clients -> forward to registration server", 7); @@ -2149,12 +2150,12 @@ sub get_ldap_handle { if ($subroutine eq "(eval)") { $caller_text = "eval block within file '$file' for '$evalText'"; } - daemon_log("$session_id INFO: new ldap handle for $caller_text required"); + daemon_log("$session_id INFO: new ldap handle for $caller_text required", 9); my $ldap_handle = $ldap_pool->get(); if (not defined $ldap_handle) { - daemon_log("$session_id INFO: ldap handle for $caller_text not available"); + daemon_log("$session_id ERROR: ldap handle for $caller_text not available", 1); } return $ldap_handle; }