Branch: Tag:

1999-11-23

1999-11-23 11:01:26 by Per Hedbor <ph@opera.com>

Changed a few report_debug to report_notice

Rev: server/base_server/configuration.pike:1.228
Rev: server/base_server/roxen.pike:1.356

3:    * (C) 1996, 1999 Idonex AB.    */    - constant cvs_version = "$Id: configuration.pike,v 1.227 1999/11/23 09:43:43 per Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.228 1999/11/23 11:00:43 per Exp $";   constant is_configuration = 1;   #include <module.h>   #include <roxen.h>
128:    string name, string doc, mapping|void translate )   {    if( !Locale.Roxen[locale] ) -  report_debug("Invalid locale: "+locale+". Ignoring.\n"); +  report_warning("Invalid locale: "+locale+". Ignoring.\n");    else    Locale.Roxen[locale]    ->register_module_doc( this_object(), variable, name, doc, translate );
2200:    if (!moduleinfo)    {   #ifdef MODULE_DEBUG -  report_debug(" %-30s ... FAILED\n", modname); +  report_warning(" Failed to load %s\n", modname);   #endif    return 0;    }
2224:    if(err = catch(me = moduleinfo->instance(this_object())))    {    report_debug("ERROR\n"); -  werror( describe_backtrace(err) ); +  report_error(LOCALE-> +  error_initializing_module_copy(moduleinfo->get_name(), +  describe_backtrace(err)));    return module->copies[id];    }   
2260:    " lägst. Moduler med samma prioritet anropas i "    "mer eller mindre slumpmässig ordning.");    }) { -  report_debug(sprintf("me->defvar:%O\n" -  "me->deflocaledoc:%O\n", -  me->defvar, me->deflocaledoc)); +     throw(err);    }    }
2854:    describe_backtrace(err)));    }    -  report_debug("All modules for %s enabled in %3.1f seconds\n\n", query_name(), -  (gethrtime()-start_time)/1000000.0); +  report_notice("All modules for %s enabled in %3.1f seconds\n\n", +  query_name(),(gethrtime()-start_time)/1000000.0);   }      void create(string config)   {    add_parse_module( this_object() );    name=config; -  report_debug("Creating virtual server '"+config+"'\n"); +        defvar("ZNoSuchFile", "<title>Sorry. I cannot find this resource</title>\n"    "<body bgcolor='#ffffff' text='#000000' alink='#ff0000' "
3261:       setvars(retrieve("spider#0", this_object()));    +  report_notice("Creating virtual server '"+query_name()+"'\n"); +     if (query("throttle"))    {    throttler=.throttler();