On Mon, 13 Nov 2006 08:44:50 +0100, Florian Kristen wrote:
Hi Florian
sub getUsername
{
my $self= shift;
my $session = CGI::Session-load;
return $session-param( 'login_name' );
}
The question is: Which session are you loading?
The logic of your code is wrong. You must get a session
I was wondering if anyone is either working on a Log4perl plugin or is
currently using it in CA with a simple pre-run wrapper.
I tried a couple ways but am not quite getting it:
# this one is in cgiapp_prerun
Log::Log4perl::init( $self-cfg('logger_conf') );
$self-param( 'logger' )
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Robert Hicks
Sent: Tuesday, 14 November 2006 8:38 a.m.
To: cgiapp@lists.erlbaum.net
Subject: [cgiapp] Anyone using Log4perl?
I was wondering if anyone is either working on a Log4perl plugin or is
currently using it in CA with a simple
Dan Horne wrote:
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Robert Hicks
Sent: Tuesday, 14 November 2006 8:38 a.m.
To: cgiapp@lists.erlbaum.net
Subject: [cgiapp] Anyone using Log4perl?
I was wondering if anyone is either working on a Log4perl plugin or is
currently using it in CA with a
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Robert Hicks
Sent: Tuesday, 14 November 2006 9:13 a.m.
To: cgiapp@lists.erlbaum.net
Subject: [cgiapp] Re: Anyone using Log4perl?
Dan Horne wrote:
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Robert Hicks
Sent: Tuesday, 14 November
On Mon, 13 Nov 2006 14:37:34 -0500, Robert Hicks wrote:
Hi Robert
I was wondering if anyone is either working on a Log4perl plugin or
is currently using it in CA with a simple pre-run wrapper.
Why not just use CGI::Application::Plugin::LogDispatch? It works perfectly.
--
Cheers
Ron Savage,
Why not just use CGI::Application::Plugin::LogDispatch?
--
Well, for a start:
a) You just have a personal preference for Log4perl - like some people
prefer H::T over TT or vice versa
b) Your organisation or customers have standardised on Log4perl in all of
their apps, web or otherwise
c)
Ron Savage wrote:
On Mon, 13 Nov 2006 14:37:34 -0500, Robert Hicks wrote:
Hi Robert
I was wondering if anyone is either working on a Log4perl plugin or
is currently using it in CA with a simple pre-run wrapper.
Why not just use CGI::Application::Plugin::LogDispatch? It works perfectly.
I