From: Alex M. <ale...@cl...> - 2003-10-13 08:26:09
|
On Fri, Oct 10, 2003 at 11:42:33AM -0700, Mike Schilli wrote: > The suggested workaround is to use configuration file "basic > substitution" (variable substitution), which is currently not available > in Log4perl. But now that I see a need for it, I'll put it right on the > TODO-List :). Great :) > For now, a hack to get what you want is to read in the configuration > file into a Perl string, manipulate it (variable substitution etc.) and > then feed it to init( \$string ). Again, it's a hack. my $life = <<""; That's ok for me, as I'm already loading my configuration this way because the path of my log files is in variables. Thanks for your answer. -- Alex Marandon CLARISYS Informatique http://clarisys.fr |