Ian harisay wrote:
> First of all, I love all the work that has been done on Log4perl.
Thanks!
>The package is as such:
> package Log::Init;
> Log::Log4perl->init("/opt/perl/lib/log.conf");
> ...
> This is working fine for me when I initialise from a conf file. The
> problem I am having, however, is that I would like my log file name to
> be dynamically generated.
This shouldn't be a problem. It doesn't matter if you create the conf
file dynamically or statically, as long as you call
Log::Log4perl->init($filename) on an existing file and only *once*
before you start calling the loggers, you should be fine.
If you send some code that doesn't work, we can take a look.
> Also, I looked for a log4perl users mail list. Didn't find one.
It's log...@li... and you shouldn't have trouble
accessing it. If you do, let me know what problems you have, I'd be
interested in resolving them.
--
-- Mike
Mike Schilli
m...@pe...
|