[arch-projects] [netcfg] [PATCH 1/4] Include timestamp in DEBUG message

Henrik Hallberg henrik at k2h.se
Mon Jul 2 17:07:17 EDT 2012


---
 src/globals | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/globals b/src/globals
index af411fe..436334a 100644
--- a/src/globals
+++ b/src/globals
@@ -28,7 +28,7 @@ function report_notice {
 }
 
 function report_debug {
-    checkyesno "$NETCFG_DEBUG" && echo "DEBUG: $*" >&2
+    checkyesno "$NETCFG_DEBUG" && echo "DEBUG $(date -Ins): $*" >&2
 }
 
 function report_try {
-- 
1.7.11.1



More information about the arch-projects mailing list