2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 23:06:37 +00:00

YAMAHA_AVR: move several Log3 messages for HTTP communication from verbose level 5 to 4

git-svn-id: https://svn.fhem.de/fhem/trunk@10812 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch 2016-02-13 11:18:05 +00:00
parent 4db7ff03db
commit 61be4055f1

View File

@ -1185,7 +1185,7 @@ YAMAHA_AVR_ParseResponse ($$$)
if(exists($param->{code}))
{
Log3 $name, 5, "YAMAHA_AVR ($name) - received HTTP code ".$param->{code}." for command \"$cmd".(defined($arg) ? " ".(split("\\|", $arg))[0] : "")."\"";
Log3 $name, 4, "YAMAHA_AVR ($name) - received HTTP code ".$param->{code}." for command \"$cmd".(defined($arg) ? " ".(split("\\|", $arg))[0] : "")."\"";
if($cmd eq "statusRequest" and $param->{code} ne "200")
{
@ -1206,7 +1206,7 @@ YAMAHA_AVR_ParseResponse ($$$)
if($err ne "" and not $options->{can_fail})
{
Log3 $name, 5, "YAMAHA_AVR ($name) - could not execute command \"$cmd".(defined($arg) ? " ".(split("\\|", $arg))[0] : "")."\": $err";
Log3 $name, 4, "YAMAHA_AVR ($name) - could not execute command \"$cmd".(defined($arg) ? " ".(split("\\|", $arg))[0] : "")."\": $err";
if((not exists($hash->{helper}{AVAILABLE})) or (exists($hash->{helper}{AVAILABLE}) and $hash->{helper}{AVAILABLE} eq 1))
{
@ -1220,7 +1220,7 @@ YAMAHA_AVR_ParseResponse ($$$)
if($data ne "")
{
Log3 $name, 5, "YAMAHA_AVR ($name) - got response for \"$cmd".(defined($arg) ? " ".(split("\\|", $arg))[0] : "")."\": $data";
Log3 $name, 4, "YAMAHA_AVR ($name) - got response for \"$cmd".(defined($arg) ? " ".(split("\\|", $arg))[0] : "")."\": $data";
# add a dummy queue entry to wait a specific time before next command starts
if($options->{wait_after_response})