# LOGFILE.RC # # New File Created 9/13/04 -GE # Last updated 6/24/05 -GE # # Synopsis: # Spambouncer low level internal log handling function # that is called by functions/loghandler.rc # and only then if SBLOGFILE has been set by the user. :0 * SBLOG ?? ^^^^ { LOG="${SBDIR}/functions/logfile.rc: Internal Error, Unexpected state: SBLOG is a NULL value. " } :0 E * ? ${TEST} -f ${SBLOGFILE} { LOCALOLDLOGFILE=${LOGFILE} LOGFILE=${SBLOGFILE} LOG="${SBLOG} " LOGFILE=${LOCALOLDLOGFILE} } :0 E { LOG="${SBLOG} " LOG="`${DATE} '+%b %d %H:%M:%S'` ${HOST} SpamBouncer[$$]: Error: file ${SBLOGFILE} does not exist. Setting SBLOGFILE=INTERNAL " SBLOGFILE=INTERNAL }