Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Log4Perl issue

by palette (Scribe)
on Jan 11, 2007 at 15:06 UTC ( #594171=note: print w/replies, xml ) Need Help??


in reply to Re: Log4Perl issue
in thread Log4Perl issue

Hi,

Yes both the package a and package b has the line

Log::Log4perl::init_and_watch('/etc/log4perl.conf',30); $__PACKAGE__::mylog=Log::Log4perl->get_logger();

but having get_logger without the package name makes any difference. The same script I have in my development box both are logged separately but when both the code runs at the same time I think the problem is there.

One more information

package a is saved in a file called a.pm and package b is inside a perl script .pl and defined the package b inside the BEGIN block and not returning a 1;

Does that makes any difference.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://594171]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2023-05-31 09:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?