From eddf50ada55acbd29f0cf588b204b506b4be13e3 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Wed, 23 May 2012 09:27:26 +0000 Subject: [PATCH] global archivelog bug fixed. git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@1579 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fhem.pl b/fhem.pl index 10fb05eed..d47316f05 100755 --- a/fhem.pl +++ b/fhem.pl @@ -913,9 +913,9 @@ OpenLogfile($) } else { - HandleArchiving($defs{global}); - $defs{global}{currentlogfile} = $param; $defs{global}{logfile} = $attr{global}{logfile}; + $defs{global}{currentlogfile} = $param; + HandleArchiving($defs{global}); open(LOG, ">>$currlogfile") || return("Can't open $currlogfile: $!"); redirectStdinStdErr() if($init_done);