2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

Fixing %W type logfiles

git-svn-id: https://svn.fhem.de/fhem/trunk@3309 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2013-06-21 07:09:19 +00:00
parent 5ecf13f92b
commit 99ebff16c8

View File

@ -400,6 +400,7 @@ FileLog_Get($@)
$linf =~ s/%m/$m/g;
$linf =~ s/%d/$d/g;
$linf =~ s/%L/$attr{global}{logdir}/g if($attr{global}{logdir});
$linf = $hash->{currentlogfile} if($linf =~ m/%/);
} else {
$linf = $hash->{currentlogfile};
}