From 0b1de8a8c06b3029de3e27d3478ce3b18f64a120 Mon Sep 17 00:00:00 2001 From: betateilchen <> Date: Sat, 22 Jul 2017 18:12:48 +0000 Subject: [PATCH] 98_fheminfo.pm: improve logging git-svn-id: https://svn.fhem.de/fhem/trunk@14765 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/98_fheminfo.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fhem/FHEM/98_fheminfo.pm b/fhem/FHEM/98_fheminfo.pm index b1248f272..5f4d2742d 100644 --- a/fhem/FHEM/98_fheminfo.pm +++ b/fhem/FHEM/98_fheminfo.pm @@ -148,10 +148,11 @@ sub _fi2_Count() { sub _fi2_Send($) { my ($cl) = shift; $cl //= undef; + my $sendType = defined($cl) ? 'nonblocking' : 'blocking'; my $json = toJSON(\%fhemInfo); - Log3("fheminfo",4,"fheminfo: $json"); + Log3("fheminfo",4,"fheminfo send ($sendType): $json"); my %hu_hash = (); $hu_hash{url} = $cmds{fheminfo}{uri};