From aec1b0dc0f482cc03db621d1529379ca54323bef Mon Sep 17 00:00:00 2001 From: nasseeder1 Date: Mon, 2 Nov 2020 18:50:38 +0000 Subject: [PATCH] 93_Log2Syslog: avoid Logfile archive execution done in rare cases git-svn-id: https://svn.fhem.de/fhem/trunk@23076 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 1 + fhem/FHEM/93_Log2Syslog.pm | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index 6ca1c8742..a329d672b 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - bugfix: 93_Log2Syslog: avoid Logfile archive execution done in rare cases - change: 50_SSChatBot: quotation marks can be used in text tag of received messages - feature: 10_FRM: Device::Firmata, receiveTimeout, ... (forum #114552) diff --git a/fhem/FHEM/93_Log2Syslog.pm b/fhem/FHEM/93_Log2Syslog.pm index 74c7fdc53..e79765151 100644 --- a/fhem/FHEM/93_Log2Syslog.pm +++ b/fhem/FHEM/93_Log2Syslog.pm @@ -106,6 +106,7 @@ BEGIN { # Versions History intern: my %vNotesIntern = ( + "5.12.3" => "02.11.2020 avoid do Logfile archiving which was executed in seldom (unknown) cases ", "5.12.2" => "15.05.2020 permit content of 'exclErrCond' to fhemLog strings ", "5.12.1" => "12.05.2020 add dev to check regex of 'exclErrCond' ", "5.12.0" => "16.04.2020 improve IETF octet count again, internal code changes for PBP ", @@ -2290,8 +2291,6 @@ sub Log3slog { my ($seconds, $microseconds) = gettimeofday(); my @t = localtime($seconds); - my $nfile = ResolveDateWildcards($attr{global}{logfile}, @t); - OpenLogfile($nfile) if(!$currlogfile || $currlogfile ne $nfile); my $tim = sprintf("%04d.%02d.%02d %02d:%02d:%02d", $t[5]+1900,$t[4]+1,$t[3], $t[2],$t[1],$t[0]);