From 5ef778c2425339ce23ad77131a625532181c3aa8 Mon Sep 17 00:00:00 2001 From: Richard Nelson Date: Sun, 4 Jul 2010 22:37:15 -0500 Subject: Matching logging date format to apache to use log analyzers on l-h.cgi builds. --- cgi/cron | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cgi/cron') diff --git a/cgi/cron b/cgi/cron index 793aee7a1..6d1cb865c 100755 --- a/cgi/cron +++ b/cgi/cron @@ -111,10 +111,10 @@ then if [ "${_ERRORCONFIG}" -eq "0" ] && [ "${_ERRORBUILD}" -eq "0" ] then _STATUS="maybe-successful" - echo "${_REMOTE_ADDR} - - [${_DATE_END}] \"${_BUILD} ${_LH_ARCHITECTURE}/${_LH_DISTRIBUTION}/${_LH_PACKAGES_LISTS}/${_LH_PACKAGES}\" 200 - \"-\" \"\"">>/var/log/live-cgi.builds + echo "${_REMOTE_ADDR} - - `date +[%d/%b/%Y:%H:%m:%S\ %z]` \"${_BUILD} ${_LH_ARCHITECTURE}/${_LH_DISTRIBUTION}/${_LH_PACKAGES_LISTS}/${_LH_PACKAGES}\" 200 - \"-\" \"\"">>/var/log/live-cgi.builds else _STATUS="maybe-failed" - echo "${_REMOTE_ADDR} - - [${_DATE_END}] \"${_BUILD} ${_LH_ARCHITECTURE}/${_LH_DISTRIBUTION}/${_LH_PACKAGES_LISTS}/${_LH_PACKAGES}\" 404 - \"-\" \"\"">>/var/log/live-cgi.builds + echo "${_REMOTE_ADDR} - - `date +[%d/%b/%Y:%H:%m:%S\ %z]` \"${_BUILD} ${_LH_ARCHITECTURE}/${_LH_DISTRIBUTION}/${_LH_PACKAGES_LISTS}/${_LH_PACKAGES}\" 404 - \"-\" \"\"">>/var/log/live-cgi.builds fi sed -e "s/BUILD/${_BUILD}/g" \ -- cgit v1.2.3