ns_modlogcontrol

Name

ns_modlogcontrol -- Define log realms

Syntax

ns_modlogcontrol register name

ns_modlogcontrol get_realms

ns_modlogcontrol get_threshhold ?name?

ns_modlogcontrol set_threshhold ?name? value

Description

ns_modlogcontrol register defines a realm with the specified name.

ns_modlogcontrol get_realms returns a Tcl list of realms.

ns_modlogcontrol get_threshhold returns the global threshhold (if name is omitted) or the threshhold for the realm with the specified name.

ns_modlogcontrol set_threshhold sets a logging threshhold for all realms (if name is omitted) or for the realm with the specified name. The value is one of the logging levels: notice, warning, error, fatal, bug, or debug.