From fbadbcd48235797034a480d2758c42e41765559a Mon Sep 17 00:00:00 2001 From: rettenbe Date: Fri, 7 Nov 2008 09:23:04 +0000 Subject: [PATCH] more infos logged for message save_fai_log git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12962 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/server/events/clMessages.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gosa-si/server/events/clMessages.pm b/gosa-si/server/events/clMessages.pm index b930a241c..0d3344db5 100644 --- a/gosa-si/server/events/clMessages.pm +++ b/gosa-si/server/events/clMessages.pm @@ -75,7 +75,10 @@ sub save_fai_log { my $all_logs = @{$msg_hash->{$header}}[0]; # if there is nothing to log - if( ref($all_logs) eq "HASH" ) { return; } + if( ref($all_logs) eq "HASH" ) { + &main::daemon_log("$session_id INFO: There is nothing to log!", 5); + return; + } my $client_fai_log_dir = $main::client_fai_log_dir; if (not -d $client_fai_log_dir) { -- 2.30.2