[log5-devel] Dynamically set log level
Stefan Neumann
stefan.neumann at freiheit.com
Mon Aug 27 22:22:27 UTC 2007
Hi,
I am quite new to lisp, so hopefully my question is not too "dumb". ;-)
I'm curious if it is possible to dynamically set the log level when
creating a sender like:
(defun init-logging (log-level)
(log5:defoutput human-time (human-time))
(log5:start-sender *my-logger*
(log5:stream-sender :location *standard-output*)
:category-spec log-level
:output-spec (log5:category human-time log5:message log5:context)))
I know, that it does not work like that, but is there another way than
using configure-from-file?
Thanks in advanced for your help.
Stefan
More information about the Log5-devel
mailing list