Code

more infos logged for message save_fai_log
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 7 Nov 2008 09:23:04 +0000 (09:23 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 7 Nov 2008 09:23:04 +0000 (09:23 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12962 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/server/events/clMessages.pm

index b930a241c9bf3c5de56ca5d259261205ccb70304..0d3344db5034c95c7fadfd4ec247595c2c1e1073 100644 (file)
@@ -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) {