in reply to Custom cspec's in Net::Log4perl
Hi
I'm not too sure about this, since I'm not famaliar with Log4Perl ...
isn't $session in your main package? If so, try
log4perl.PatternLayout.cspec.s = sub {return $::session->id}
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Custom cspec's in Net::Log4perl
by jpfarmer (Pilgrim) on Apr 21, 2005 at 21:49 UTC | |
by jimbojones (Friar) on Apr 21, 2005 at 22:24 UTC | |
by jpfarmer (Pilgrim) on Apr 22, 2005 at 19:18 UTC |
In Section
Seekers of Perl Wisdom