Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2004, Roxen IS.   //      // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.616 2006/09/14 13:01:24 mast Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.617 2006/09/15 12:06:42 wellhard Exp $";   #include <module.h>   #include <module_constants.h>   #include <roxen.h>   #include <request_trace.h>   #include <timers.h>      #define CATCH(P,X) do{mixed e;if(e=catch{X;})report_error("While "+P+"\n"+describe_backtrace(e));}while(0)      // --- Locale defines ---   //<locale-token project="roxen_start"> LOC_S </locale-token>
Roxen.git/server/base_server/configuration.pike:943:    foreach(foo, b)    if(strlen(b) && b[0] != '#' && sizeof(b/":")>1)    log_format[(int)(b/":")[0]] = fix_logging((b/":")[1..]*":");   }      void log(mapping file, RequestID request_id)   {    // Call all logging functions    array(function) log_funs = logger_module_cache||logger_modules();    if (sizeof(log_funs)) { -  request_id->init_cookies(); +  request_id->init_cookies(1);    foreach(log_funs, function f)    if( f( request_id, file ) )    return;    }       if( !log_function )    return; // No file is open for logging.       if(do_not_log_patterns &&    Roxen._match(request_id->remoteaddr, do_not_log_patterns))