Re: [log4perl-devel] Config file not found when current dir is not script dir

2009-05-29 Thread Mike Schilli
On Fri, 29 May 2009, Jean-Denis Muys wrote: > I am a relative newbie and I hope I ask in the right place. Sure. > A similar idiom seems to work also for Log4Perl config file: >use FindBin; >Log::Log4perl::init("$FindBin::Bin/KConfig.conf"); > Is this the correct and idiomatic way to solv

[log4perl-devel] Config file not found when current dir is not script dir

2009-05-29 Thread Jean-Denis Muys
Hi, I am a relative newbie and I hope I ask in the right place. The problem is that Log4perl doesn't find the .conf file when the current directory is not where the .conf file is. My Perl package is delivered as a directory with the main file DXMain.pl and all its private modules, including my K