Subject: | Log4perl initialization |
Hi Gregory,
I've been using your RDF::Trine and it's pretty awesome.
I noticed that you initialize Log4perl at the top of Trine.pm:
use Log::Log4perl qw(:easy);
Log::Log4perl->easy_init($ERROR);
I think this is probably a mistake. If an application includes one of
your Trine modules, it will wipe out their Log4perl configuration. This
is what was happening to me and it took me a while to figure it out.
Instead, I think you can just do:
use Log::Log4perl;
If I am not mistaken, Log4perl just print a warning if you try to log
something and Log4perl hasn't been initialized yet.
Keep up the great work!
-- Ben