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.663 2009/01/07 14:00:26 mast Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.664 2009/01/08 17:43:21 mast 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)      // Tell Pike.count_memory this is global.   constant pike_cycle_depth = 0;
Roxen.git/server/base_server/configuration.pike:1094:    if(!form) return;       roxen.run_log_format( form, log_function, request_id, file );   }      void log_event (string facility, string action, string resource,    void|mapping(string:mixed) info)   //! Log an event.   //!   //! This function is primarily intended for logging arbitrary internal - //! events for performance monitoring purposes; see @[log_event] for - //! details. The events are sent to the access log, where they - //! typically are formatted in a CommonLog lookalike format. + //! events for performance monitoring purposes. The events are sent to + //! the access log, where they typically are formatted in a CommonLog + //! lookalike format.   //!   //! The intention is to extend this function to be able to collect   //! statistics of these events for polling by e.g. SNMP.   //!   //! @param facility   //! An identifier for the module or subsystem that the event comes   //! from. This defaults to the module identifier returned by   //! @[RoxenModule.module_local_id] when the @[RoxenModule.log_event]   //! wrapper is used. It should be unique within the configuration.   //! Valid characters are @expr{[-_.#a-zA-Z0-9]@} but the first