From 306f48710426c919f3589c8a27cf9ed46e3f3bab Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Thu, 16 Jan 2025 08:46:00 +0000 Subject: [PATCH] 92_FileLog.pm: fix createGluedFile in parallel environment (Forum #140424) git-svn-id: https://svn.fhem.de/fhem/trunk@29527 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/92_FileLog.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/92_FileLog.pm b/fhem/FHEM/92_FileLog.pm index 9806ec7a4..8c4915b25 100644 --- a/fhem/FHEM/92_FileLog.pm +++ b/fhem/FHEM/92_FileLog.pm @@ -861,7 +861,7 @@ FileLog_Get($@) my $linf_to = ResolveDateWildcards($hash->{logfile}, localtime(time_str2num("$to_ymd $to_hms"))); if($linf ne $linf_to){ # append each file into a temporary one - $tempfileName = $linf.".transit.temp.log"; + $tempfileName = $linf.".transit.temp.log.$$"; unlink($tempfileName); my $lf = $linf;