Branch: Tag:

1999-12-30

1999-12-30 00:45:07 by Martin Stjernholm <mast@lysator.liu.se>

Tuned the module load messages to get more space for the module name.

Rev: server/base_server/configuration.pike:1.249

3:    * (C) 1996, 1999 Idonex AB.    */    - constant cvs_version = "$Id: configuration.pike,v 1.248 1999/12/28 03:41:23 mast Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.249 1999/12/30 00:45:07 mast Exp $";   constant is_configuration = 1;   #include <module.h>   #include <roxen.h>
2231: Inside #if defined(MODULE_DEBUG)
     #ifdef MODULE_DEBUG    if( id ) -  report_debug(" %-33s ... \b", moduleinfo->get_name()+" copy "+(id+1)); +  report_debug(" %-43s... \b", moduleinfo->get_name()+" copy "+(id+1));    else -  report_debug(" %-33s ... \b", moduleinfo->get_name() ); +  report_debug(" %-43s... \b", moduleinfo->get_name() );   #endif       module = modules[ modname ];
2246:    if(err = catch(me = moduleinfo->instance(this_object())))    {   #ifdef MODULE_DEBUG -  report_debug("\b ERROR\n"); +  report_debug("\bERROR\n");    if (err != "")   #endif    report_error(LOCALE->
2509:    if((me->start) && (err = catch( me->start(0, this_object()) ) ) )    {   #ifdef MODULE_DEBUG -  report_debug("\b ERROR\n"); +  report_debug("\bERROR\n");   #endif    report_error(LOCALE->    error_initializing_module_copy(moduleinfo->get_name(),
2526:    if (err = catch(pr = me->query("_priority")))    {   #ifdef MODULE_DEBUG -  report_debug("\b ERROR\n"); +  report_debug("\bERROR\n");   #endif    report_error(LOCALE->    error_initializing_module_copy(moduleinfo->get_name(),
2559:    }    }) {   #ifdef MODULE_DEBUG -  report_debug("\b ERROR\n"); +  report_debug("\bERROR\n");   #endif    report_error(LOCALE->    error_initializing_module_copy(moduleinfo->get_name(),
2579:    }    }) {   #ifdef MODULE_DEBUG -  report_debug("\b ERROR\n"); +  report_debug("\bERROR\n");   #endif    report_error(LOCALE->    error_initializing_module_copy(moduleinfo->get_name(),
2630:    }    invalidate_cache();   #ifdef MODULE_DEBUG -  report_debug("\b OK %5.1fms.\n", (gethrtime()-start_time)/1000.0); +  report_debug("\bOK %6.1fms\n", (gethrtime()-start_time)/1000.0);   #endif    return me;   }
2806: Inside #if defined(MODULE_DEBUG)
   {   #ifdef MODULE_DEBUG    if( !wr++ ) -  report_debug("\b[ adding required modules\n"); +  report_debug("\b[ adding req module" + (sizeof (mods) > 1 ? "s" : "") + "\n");   #endif    forcibly_added[ mod+"#0" ] = 1;    enable_module( mod+"#0" );
2814: Inside #if defined(MODULE_DEBUG)
   }   #ifdef MODULE_DEBUG    if( wr ) -  report_debug("]\n"); +  report_debug("] \b");   #endif   }