Patches item #455596, was opened at 2001-08-26 14:59
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=303152&aid=455596&group_id=3152
Category: aolserver3_3
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jerry Asher (jerryasher)
Assigned to: Nobody/Anonymous (nobody)
Summary: ns_loglevel command: turns debug on/off
Initial Comment:
The attached patch adds an ns_loglevel command.
The patch was made against AOLserver 3.3 ad13, but
should almost certainly work AOLserver 3.3. The patch
patches nsd/nsd.h, nsd/tclcmds.c, and nsd/log.c
Documentation:
Name: ns_loglevel
Synopsis:
ns_loglevel [option [?on | ?off]]
Description:
Turn debug and dev level debugging on or off at runtime
without requiring a server restart.
ns_loglevel
Returns a list of four elements containing the current
settings of debug and dev log settings. The list is of
the form:
{debug (on | off) dev (on | off)}
ns_loglevel debug
Returns the current value of the debug log level, "on"
or "off"
ns_loglevel debug ?on | ?off
Sets the current value of the debug loglevel to on or
off. Returns the old value.
ns_loglevel dev
Returns the current value of the dev log level, "on" or
"off"
ns_loglevel dev ?on | ?off
Sets the current value of the dev loglevel to on or
off. Returns the old value.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=303152&aid=455596&group_id=3152