_LOGFILE returns the name of the current log file (or an empty string if LOG is OFF). See LOG for information on logging.