[hunchentoot-devel] Logging API and default behavior changed

Hans Hübner hans.huebner at gmail.com
Mon Jan 24 21:32:27 UTC 2011


On Mon, Jan 24, 2011 at 10:19 PM, Daniel Weinreb <dlw at itasoftware.com> wrote:

> Just to make sure, the old special variables only
> mattered if you used the default logger functions,
> right?  In our system, we always provide our
> own logger functions, so those special variables
> were not used, as far as I know.

Correct.

> The per-acceptor slots containing the log pathnames
> are used by the default methods, and are available
> for custom (subclass) methods, but have no effect
> if you provide your own methods that do not use them,
> right?

That is correct as well.  While implementing the change, I have
actually pondered the possibility of creating a mixin class for the
logging behavior or create a logger class right away, but found that
to be of little immediate value given that the acceptor class has
several other slots that are useful only in certain operating modes.

-Hans




More information about the Tbnl-devel mailing list