mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-26 10:34:52 +00:00
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
This commit is contained in:
parent
e325e606e4
commit
aec1b0dc0f
@ -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)
|
||||
|
@ -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]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user