Branch: Tag:

2001-03-12

2001-03-12 14:08:40 by Martin Nilsson <mani@lysator.liu.se>

werror -> report_debug

Rev: server/base_server/configuration.pike:1.422
Rev: server/base_server/disk_cache.pike:1.60
Rev: server/base_server/fastpipe.pike:1.7
Rev: server/base_server/hosts.pike:1.30
Rev: server/base_server/language.pike:1.37
Rev: server/base_server/prototypes.pike:1.19
Rev: server/base_server/read_config.pike:1.57
Rev: server/base_server/rxmlhelp.pike:1.41
Rev: server/base_server/slowpipe.pike:1.9
Rev: server/base_server/socket.pike:1.22
Rev: server/base_server/supports.pike:1.23
Rev: server/base_server/throttler.pike:1.7
Rev: server/base_server/wizard.pike:1.131

1:   // A vitual server's main configuration   // Copyright © 1996 - 2000, Roxen IS. - constant cvs_version = "$Id: configuration.pike,v 1.421 2001/03/08 15:34:57 per Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.422 2001/03/12 14:05:02 nilsson Exp $";   #include <module.h>   #include <module_constants.h>   #include <roxen.h>
21: Inside #if defined(THROTTLING_DEBUG)
     #ifdef THROTTLING_DEBUG   #undef THROTTLING_DEBUG - #define THROTTLING_DEBUG(X) werror("Throttling: "+X+"\n") + #define THROTTLING_DEBUG(X) report_debug("Throttling: "+X+"\n")   #else   #define THROTTLING_DEBUG(X)   #endif      #ifdef REQUEST_DEBUG - # define REQUEST_WERR(X) werror("CONFIG: "+X+"\n") + # define REQUEST_WERR(X) report_debug("CONFIG: "+X+"\n")   #else   # define REQUEST_WERR(X)   #endif
975: Inside #if defined(THREADS)
   {    // Allow recursive locks.    catch{ -  //werror("lock %O\n", f); +  // report_debug("lock %O\n", f);    locked[f]++;    key = l();    };
993: Inside #if defined(THREADS)
   locks[f]=l;    }    } -  //werror("lock %O\n", f); +  // report_debug("lock %O\n", f);    locked[f]++;    key = l();    }
1774:    mode -= "R";    if(f = real_file(fname, id))    { -  // werror("opening "+fname+" in raw mode.\n"); +  // report_debug("opening "+fname+" in raw mode.\n");    return ({ open(f, mode), ([]) });    }   // return ({ 0, (["error":302]) });
1856: Inside #if defined(URL_MODULES)
   {    id->not_query=of;   #ifdef MODULE_DEBUG -  werror("conf->find_dir_stat(\"%s\"): url_module returned mapping:%O\n", +  report_debug("conf->find_dir_stat(\"%s\"): url_module returned mapping:%O\n",    file, tmp);   #endif /* MODULE_DEBUG */    TRACE_LEAVE("Returned mapping."+sprintf("%O", tmp));
1882: Inside #if defined(URL_MODULES)
   if(err)    throw(err);   #ifdef MODULE_DEBUG -  werror("conf->find_dir_stat(\"%s\"): url_module returned object:\n", +  report_debug("conf->find_dir_stat(\"%s\"): url_module returned object:\n",    file);   #endif /* MODULE_DEBUG */    TRACE_LEAVE("Returned object.");
3273:       definvisvar( "no_delayed_load", 0, TYPE_FLAG|VAR_PUBLIC );    - // werror("[defvar: %.1fms] ", (gethrtime()-st)/1000.0 ); + // report_debug("[defvar: %.1fms] ", (gethrtime()-st)/1000.0 );   // st = gethrtime();    setvars( retrieve("spider#0", this_object()) );    - // werror("[restore: %.1fms] ", (gethrtime()-st)/1000.0 ); + // report_debug("[restore: %.1fms] ", (gethrtime()-st)/1000.0 );    if (query("throttle"))    {    throttler=.throttler();