mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-05 17:48:44 +00:00
98_MSwitch.pm:Update -> Fix Loglevel
git-svn-id: https://svn.fhem.de/fhem/trunk@19132 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b9d328dc3b
commit
3cc8421848
@ -1879,7 +1879,7 @@ sub MSwitch_Set($@) {
|
||||
$msg = MSwitch_check_setmagic_i( $hash, $msg );
|
||||
$hash->{helper}{delays}{$msg} = $timecond;
|
||||
InternalTimer( $timecond, "MSwitch_Restartcmd", $msg );
|
||||
MSwitch_LOG( $name, 0,
|
||||
MSwitch_LOG( $name, 5,
|
||||
"$name: verzoegerte befehl gesetzt -> "
|
||||
. $timecond . " : "
|
||||
. $msg );
|
||||
@ -9286,7 +9286,7 @@ sub MSwitch_check_setmagic_i($$) {
|
||||
my $name = $hash->{NAME};
|
||||
|
||||
# setmagic ersetzun
|
||||
MSwitch_LOG( $name, 0, "vor freecmd: " . $msg );
|
||||
MSwitch_LOG( $name, 5, "vor freecmd: " . $msg );
|
||||
my $x = 0;
|
||||
while ( $msg =~ m/(.*)\[(.*)\:(.*)\:i\](.*)/ ) {
|
||||
$x++; # notausstieg notausstieg
|
||||
@ -9295,7 +9295,7 @@ sub MSwitch_check_setmagic_i($$) {
|
||||
$msg = $1 . $setmagic . $4;
|
||||
}
|
||||
|
||||
MSwitch_LOG( $name, 0, "nach freecmd: " . $msg );
|
||||
MSwitch_LOG( $name, 5, "nach freecmd: " . $msg );
|
||||
return $msg;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user