Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:1:   // A vitual server's main configuration   // Copyright © 1996 - 2000, Roxen IS.    - constant cvs_version = "$Id: configuration.pike,v 1.342 2000/08/19 00:47:57 per Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.343 2000/08/19 01:27:31 per Exp $";   constant is_configuration = 1;   #include <module.h>   #include <module_constants.h>   #include <roxen.h>   #include <request_trace.h>      inherit "basic_defvar";      mapping enabled_modules = ([]);   mapping(string:array(int)) error_log=([]);
Roxen.git/server/base_server/configuration.pike:542:       if(QUERY(NoLog) &&    Roxen._match(request_id->remoteaddr, QUERY(NoLog)))    return;       if(!(form=log_format[(string)file->error]))    form = log_format["*"];       if(!form) return;    -  roxen.LogFormat fmt; -  if( !(fmt = roxen.compiled_formats[ form ] ) ) -  fmt = roxen.compiled_formats[ form ] = roxen.compile_format( form ); +  roxen.LogFormat fmt = roxen.compile_format( form );    fmt->log( log_function, request_id, file );   }      // These are here for statistics and debug reasons only.   public string status()   {    float tmp;    string res="";    float dt = (float)(time(1) - roxen->start_time + 1);