At 10:38 AM 11/21/2002 +, you wrote:
Log4j has supported system properties interpolation in XML/properties
configuration files at least since I started using it (almost two years
ago).
Just add the variables to system properties before Log4j fires up, e.g. with
the -D option to the VM.
Whoo
Hey all,
A quick question.
We've been using Log4j for the Expresso project since before it moved to
Jakarta, and it has been extremely faithful. I've been working on how to
better set up xml configuration with log4j since DOM configuration has
obviously matured greatly since we first dealt wi
At 11:56 AM 3/21/2002 -0500, you wrote:
> I am trying to configure Log4J with two configuration files. The
>reason for this is as follows:
Michael,
I've been doing multiple config files without much of a problem at all. As
long as the root is only defined in one file, and also that th
Regarding the bug I faced a while back, would is be possible to make the
category name an ID, and change the DTD so that the DTD could validate that
there was a unique name for each category within a single file?
[This would be useful for appenders too]
Any reasons not to do this?
Thanks,
Hello All,
I'd normally report this to Bugzilla, but it's been down all day. Sorry for
the bandwidth waste.
Summary: Duplicate entries in an XML configuration file will mess up the
appenders referenced by the entries:
Severity: Mild (Easy work around - have the right config file! :-) )
Examp
Hello All,
I've got a problem where I modify an appender after loading the initial XML
file. It's a FileAppender where I call setFile(,true). The
problem is that after I do that (using the latest version, it wasn't a
problem earlier), I get
log4j:ERROR Attempted to append to closed appender