FIX: reduced logging
This commit is contained in:
parent
68b3247c23
commit
0f555f7fad
@ -123,14 +123,10 @@ sub NTFY_Define
|
|||||||
$hash->{STATE} = "unknown";
|
$hash->{STATE} = "unknown";
|
||||||
$hash->{USERNAME} = $h->{user} || "";
|
$hash->{USERNAME} = $h->{user} || "";
|
||||||
$hash->{helper}{PASSWORD} = $h->{password};
|
$hash->{helper}{PASSWORD} = $h->{password};
|
||||||
$hash->{DEFAULT_TOPIC} = $h->{topic};
|
|
||||||
|
|
||||||
my @topics;
|
my @topics;
|
||||||
$hash->{helper}->{topics} = \@topics;
|
$hash->{helper}->{topics} = \@topics;
|
||||||
|
|
||||||
|
|
||||||
NTFY_newSubscription($hash,$hash->{DEFAULT_TOPIC});
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -431,8 +427,6 @@ sub NTFY_Set
|
|||||||
{
|
{
|
||||||
my ( $hash, $name, $cmd, @args ) = @_;
|
my ( $hash, $name, $cmd, @args ) = @_;
|
||||||
|
|
||||||
NTFY_LOG(LOG_ERROR, "CMD:" . $cmd);
|
|
||||||
|
|
||||||
if ($cmd eq "publish" )
|
if ($cmd eq "publish" )
|
||||||
{
|
{
|
||||||
NTFY_LOG(LOG_ERROR, "full command: " . join(' ', @args));
|
NTFY_LOG(LOG_ERROR, "full command: " . join(' ', @args));
|
||||||
|
Loading…
Reference in New Issue
Block a user