AOLserver Chat Logs

2004/07/25

IRC [07:24] *** tekbasse parted the chat.
IRC [13:39] *** bartt joined the chat.
IRC [13:40] <bartt> Is there a ns_ command to find out if the web server is running debug mode?
IRC [13:40] <bartt> Or do I have to use ns_config to find out?
IRC [14:08] <bartt> Went with: string map -nocase {t 1 true 1 on 1 f 0 false 0 off 0} [ns_config ns/parameters debug 0]
IRC [14:26] <bartt> bbl
IRC [14:48] *** tekbasse joined the chat.
IRC [15:46] <Dossy> why use string map?
IRC [15:46] <Dossy> Tcl's booleans recognize many values for true/false.
IRC [15:47] <Dossy> expr [ns_config ns/parameters debug 0]
IRC [15:47] <Dossy> in case you want 0 or 1