From 89c3bb8f47f70686328398ef4479dd69e90dcc4c Mon Sep 17 00:00:00 2001 From: LeonGaultier Date: Tue, 3 Nov 2020 02:58:34 +0000 Subject: [PATCH] 98_backup.pm: log output include files (forum #115478) git-svn-id: https://svn.fhem.de/fhem/trunk@23080 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 1 + fhem/FHEM/98_backup.pm | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index a329d672b..85780e6e9 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: 98_backup.pm: log output include files (forum #115478) - 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 diff --git a/fhem/FHEM/98_backup.pm b/fhem/FHEM/98_backup.pm index b14eee550..7fc2417ff 100644 --- a/fhem/FHEM/98_backup.pm +++ b/fhem/FHEM/98_backup.pm @@ -162,10 +162,13 @@ sub addConfDBFiles { else { # get pathnames to archiv push( @pathname, $configfile ) if ($configfile); - Log( 2, 'backup include: ' . $configfile ); + Log( 2, 'backup include: ' . $configfile ) + if ($configfile); + $ret = parseConfig($configfile); push( @pathname, $statefile ) if ($statefile); - Log( 2, 'backup include: ' . $statefile ); + Log( 2, 'backup include: ' . $statefile ) + if ($statefile); } return $ret;