[SCM] live-config branch, debian-next, updated. debian/3.0_a36-1-3-g2729357

Daniel Baumann daniel at debian.org
Fri Apr 6 08:50:20 UTC 2012


The following commit has been merged in the debian-next branch:
commit 272935728fb0105cb6c669c6d18b21c3968b38ad
Author: Daniel Baumann <daniel at debian.org>
Date:   Fri Apr 6 10:49:24 2012 +0200

    Adding timestamp and script name to logfile when running with debug enabled.

diff --git a/scripts/config.sh b/scripts/config.sh
index 3819752..7eedcf9 100755
--- a/scripts/config.sh
+++ b/scripts/config.sh
@@ -211,6 +211,8 @@ Main ()
 
 	for _SCRIPT in ${_SCRIPTS}
 	do
+		[ "${_LIVE_DEBUG}" = "true" ] && echo "[$(date +'%F %T')] live-config: ${_SCRIPT}" >> /var/log/live/config.log
+
 		. ${_SCRIPT} 2>&1 | tee -a /var/log/live/config.log
 	done
 

-- 
live-config



More information about the debian-live-changes mailing list