Lines Matching refs:LOGFILE
90 [[ -n $LOGFILE ]] && printf "[$(date)] ERROR: ${fmt}\n" "$@" >&2
171 [[ -n $LOGFILE ]] && printf "[$(date)] ${MSG_PREFIX}${fmt}\n" "$@" >&2
184 [[ -n $LOGFILE ]] && printf "[$(date)] ${MSG_PREFIX}${fmt}\n" "$@" >&2
427 }' >>$LOGFILE
444 }' >>$LOGFILE
3549 # LOGFILE Set to the name of the log file.
3553 # it is set to the value of LOGFILE. Thus, in situations
3565 # is redirected for append to $LOGFILE.
3583 # up. Continue to use existing $ZONEADM_LOGFILE as $LOGFILE.
3586 LOGFILE=$ZONEADM_LOGFILE
3602 LOGFILE=$(set -o noclobber
3613 [[ -z $LOGFILE || ! -f $LOGFILE ]] &&
3615 ZONEADM_LOGFILE=$LOGFILE
3619 # Before redirecting stderr to $LOGFILE, save a copy of it to fd 3
3623 exec 2>>$LOGFILE
3626 [[ $FINISH_LOG == true ]] && log "$m_log_progress_to" "$LOGFILE"
3648 # LOGFILE The name of the log file. Unset before return.
3653 # directory, $LOGFILE is copied to the same path in the
3660 typeset logfile=$LOGFILE
3662 [[ -z $LOGFILE ]] && return
3666 # Stop logging to $LOGFILE and restore stderr.
3669 unset LOGFILE