1.1 --- a/scripts/functions Sat Jun 16 18:04:05 2007 +0000
1.2 +++ b/scripts/functions Sat Jun 16 22:23:53 2007 +0000
1.3 @@ -35,6 +35,13 @@
1.4 # shared is not found
1.5 set +o hashall
1.6
1.7 +# Log policy:
1.8 +# - first of all, save stdout so we can see the live logs: fd #6
1.9 +exec 6>&1
1.10 +# - then point stdout to the log file (temporary for now)
1.11 +tmp_log_file="${CT_TOP_DIR}/log.$$"
1.12 +exec >>"${tmp_log_file}"
1.13 +
1.14 # The different log levels:
1.15 CT_LOG_LEVEL_ERROR=0
1.16 CT_LOG_LEVEL_WARN=1