[hunchentoot-devel] Garbage in REPL

Andrey Moskvitin archimag at gmail.com
Mon Apr 4 15:59:21 UTC 2011


Hi,

For ACCESS-LOG-DESIGNATION default value is *ERROR-OUTPUT*. It is the cause of
littering REPL for SLIME users. Maybe better use NIL as default and for suppress
logging use a keyword :suppress?

(defmethod acceptor-access-log-destination ((acceptor acceptor))
  (let ((destination (slot-value acceptor 'access-log-destination)))
    (case destination
      ((nil) *error-output*)
      (:suppress nil)
      (otherwise destination))))

In this case,  the logging will be sent to *inferior-lisp* and  will not
interfere with.

Andrey




More information about the Tbnl-devel mailing list