add: } else if (GetBool("logdebug", LOG_DEBUG_BOOL)) { nsconf.log.flags |= LOG_DEBUG;
context: NsConfUpdate(void){    int i;    Ns_DString ds;        NsUpdateEncodings();    NsUpdateMimeTypes();    Ns_DStringInit(&ds);    /*     * libnsthread     */    if (!Ns_ConfigGetInt(NS_CONFIG_THREADS, "stacksize", &i)) {    	i = GetInt("stacksize", THREAD_STACKSIZE_INT);    }    Ns_ThreadStackSize(i);    /*     * log.c     */        if (GetBool("logusec", LOG_USEC_BOOL)) {	nsconf.log.flags |= LOG_USEC;    }    if (GetBool("logroll", LOG_ROLL_BOOL)) {	nsconf.log.flags |= LOG_ROLL;    }    if (GetBool("logexpanded", LOG_EXPANDED_BOOL)) {	nsconf.log.flags |= LOG_EXPAND;    }    if (GetBool("debug", LOG_DEBUG_BOOL)) {	nsconf.log.flags |= LOG_DEBUG;    }    if (GetBool("logdev", LOG_DEV_BOOL)) {	nsconf.log.flags |= LOG_DEV;    }    if (!GetBool("lognotice", LOG_NOTICE_BOOL)) {	nsconf.log.flags |= LOG_NONOTICE;    }    nsconf.log.maxback  = GetInt("logmaxbackup", LOG_MAXBACK_INT);    nsconf.log.maxlevel = GetInt("logmaxlevel", LOG_MAXLEVEL_INT);    nsconf.log.maxbuffer  = GetInt("logmaxbuffer", LOG_MAXBUFFER_INT);    nsconf.log.flushint  = GetInt("logflushinterval", LOG_FLUSHINT_INT);    nsconf.log.file = Ns_ConfigGetValue(NS_CONFIG_PARAMETERS, "serverlog");    if (nsconf.log.file == NULL) {	nsconf.log.file = "server.log";    }    if (Ns_PathIsAbsolute(nsconf.log.file) == NS_FALSE) {	Ns_HomePath(&ds, "log", nsconf.log.file, NULL);	nsconf.log.file = Ns_DStringExport(&ds);    }    /*     * nsmain.c     */             nsconf.shutdowntimeout = GetInt("shutdowntimeout", SHUTDOWNTIMEOUT);    /*     * sched.c     */    nsconf.sched.maxelapsed = GetInt("schedmaxelapsed", SCHED_MAXELAPSED_INT);    /*     * binder.c, win32.c     */    nsconf.backlog = GetInt("listenbacklog", BACKLOG);        /*     * dns.c     */         if (GetBool("dnscache", DNS_CACHE_BOOL)) {	int max = GetInt("dnscachemaxentries", 100);	i = GetInt("dnscachetimeout", DNS_TIMEOUT_INT);	if (max > 0 && i > 0) {	    i *= 60; /* NB: Config minutes, seconds internally. */	    NsEnableDNSCache(i, max);	}    }    /*     * keepalive.c     */         nsconf.keepalive.timeout = GetInt("keepalivetimeout", KEEPALIVE_TIMEOUT_INT);    if (nsconf.keepalive.timeout > 0) {	nsconf.keepalive.enabled = 1;    }    nsconf.keepalive.maxkeep = GetInt("maxkeepalive", KEEPALIVE_MAXKEEP_INT);    /*     * tclinit.c     */         Ns_HomePath(&ds, "modules", "tcl", NULL);    nsconf.tcl.sharedlibrary = Ns_DStringExport(&ds);    nsconf.tcl.lockoninit = GetBool("tclinitlock", TCL_INITLCK_BOOL);    Ns_DStringFree(&ds);}