Fixing %W type logfiles
git-svn-id: https://svn.fhem.de/fhem/trunk@3309 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -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};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user