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 3056021b1e
commit 7438e38dfd

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};
}