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 - 2009, Roxen IS.   //      // @appears Configuration   //! A site's main configuration    - constant cvs_version = "$Id: configuration.pike,v 1.727 2012/06/08 14:08:52 mast Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.728 2012/06/08 14:21:48 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:1054:    }    return filter_module_cache;   }      void end_logger()   {    if (mixed err = catch {    if (roxen.LogFile logger =    log_function && function_object (log_function)) {    logger->close(); -  destruct (logger); +     }    }) report_error ("While stopping the logger: " + describe_backtrace (err));    log_function = 0;   }      void init_log_file()   {    end_logger();    // Only try to open the log file if logging is enabled!!    if(query("Log"))