mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 04:36:36 +00:00
Fix from Revision 1579 revisited (fhem log archiving was defunct)
git-svn-id: https://svn.fhem.de/fhem/trunk@1757 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
cfcced7841
commit
5b84dd2b96
@ -844,9 +844,9 @@ OpenLogfile($)
|
||||
|
||||
} else {
|
||||
|
||||
$defs{global}{logfile} = $attr{global}{logfile};
|
||||
HandleArchiving($defs{global}) if($defs{global}{currentlogfile});
|
||||
$defs{global}{currentlogfile} = $param;
|
||||
HandleArchiving($defs{global});
|
||||
$defs{global}{logfile} = $attr{global}{logfile};
|
||||
|
||||
open(LOG, ">>$currlogfile") || return("Can't open $currlogfile: $!");
|
||||
redirectStdinStdErr() if($init_done);
|
||||
|
Loading…
x
Reference in New Issue
Block a user