Change the log level of CAT to NEW-LEVEL. If RECUSIVE is T the setting is also applied to the sub categories of CAT.
(defmethod (setf log.level) (new-level (cat log-category)
&optional (recursive t))
"Change the log level of CAT to NEW-LEVEL. If RECUSIVE is T the
setting is also applied to the sub categories of CAT."
(setf (slot-value cat 'level) new-level)
(when recursive
(dolist (child (childer cat))
(setf (log.level child) new-level))))Source Context