From 68a71aefd80e89fd49d257b57218cdb6ddaeb050 Mon Sep 17 00:00:00 2001 From: rettenbe Date: Mon, 10 Mar 2008 12:36:50 +0000 Subject: [PATCH] new debug outputs git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9558 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/gosa-si-client | 1 + gosa-si/gosa-si-server | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gosa-si/gosa-si-client b/gosa-si/gosa-si-client index 4841038ca..cbc3e5719 100755 --- a/gosa-si/gosa-si-client +++ b/gosa-si/gosa-si-client @@ -981,6 +981,7 @@ sub fifo_got_record { my $file_record = $_[ARG0]; my $header; my $content = ""; + daemon_log("DEBUG: fifo got record: $file_record", 7); $file_record =~ /^(\S+)[ ]?([\s\S]+)?$/; if( defined $1 ) { diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server index c721cd18f..0907860f2 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -584,7 +584,7 @@ sub input_from_known_client { } if( (!$msg) || (!$msg_hash) || (!$module) ) { - &daemon_log("DEBUG: Incoming message is not from a known client", 5); + &daemon_log("DEBUG: Incoming message is not from a known client", 7); } return ($msg, $msg_hash, $module); @@ -948,7 +948,7 @@ sub client_input { daemon_log("", 5); daemon_log("INFO: Incoming msg from '".$heap->{'remote_ip'}."'", 5); - daemon_log("DEBUG: Incoming message:\n$input", 9); + daemon_log("DEBUG: Incoming msg:\n$input", 9); #################### # check incoming msg @@ -970,6 +970,7 @@ sub client_input { ###################### # process incoming msg if( $error == 0) { + daemon_log("INFO: Incoming msg with header '".@{$msg_hash->{'header'}}[0]."'", 5); daemon_log("DEBUG: Processing module ".$module, 7); $answer_l = &{ $module."::process_incoming_msg" }($msg, $msg_hash, $session_id); -- 2.30.2