|
From: Kevin G. <ke...@go...> - 2002-12-27 23:02:52
|
Jim Cromie wrote:
> nice module - easy to use and powerful / flexible.
Thanks!
> I tried this - hoping the layoutpattern tricks would work here, but no
> joy -
> log4j.appender.LOGFILE.filename= sub {return
> "$ENV{APP_ROOT}/logs/rootlog"}
Ha! That's in our CVS code right now, just hasn't been released yet.
You could wait a couple weeks for the release, or you can read in the
config file, interpolate the variable yourself, and give the resulting
string to init() as a reference.
> Ive written a wrapper (myLogger) which uses AUTOLOAD to delegate
calls like
> myLogger->debug(@args) to Log::Log4perl.
Fun stuff, that. Someday we might implement filters, which might do
some of what you're doing.
--
Happy Trails . . .
Kevin M. Goess
|