IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 11, 2006, 2:02:53 PM (20 years ago)
Author:
jhoblitt
Message:

make Nebulous::Server::Log mod_perl aware
change Nebulous::Server::Log to accept a Nebulous::Server::Config object as a parameter instead of fetching it as a singleton

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/lib/Nebulous/Server.pm

    r10575 r10627  
    11# Copyright (c) 2004  Joshua Hoblitt
    22#
    3 # $Id: Server.pm,v 1.21 2006-12-08 20:57:36 jhoblitt Exp $
     3# $Id: Server.pm,v 1.22 2006-12-12 00:02:53 jhoblitt Exp $
    44
    55package Nebulous::Server;
     
    2929
    3030    # log4perl is not avaliable until we call init()
    31     Nebulous::Server::Log->init;
    32 
     31    Nebulous::Server::Log->init($config);
    3332    my $log = Log::Log4perl::get_logger( "Nebulous::Server" );
     33
    3434    my $sql = Nebulous::Server::SQL->new;
    3535
Note: See TracChangeset for help on using the changeset viewer.