Let me, as a log4j user, give my 2 cents. I looked at the Java 1.4
logging classes and decided they were inferior to log4j. Since log4j is
an external JAR, it will not only be available in JDK1.4 but also in
1.5, ... and you can already use them in 1.3. So log4j is the way to go.
Tom
Matthias
Some people may disagree
Yup ;-)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
> Admittedly, many of us at here at log4j-user@ are biased in favor of log4j.
Really? Naah.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
e in the enterprise.
>
> This approach mitigates the risk of being tied to a particular solution,
> while not incurring the potential pains of Commons Logging.
>
> Mike
>
>
> -Original Message-
> From: Tbee [mailto:[EMAIL PROTECTED]
> Sent: Monday, Octobe
> Unless I am mistaken, commons-logging was always dynamic. It always used
> classloader tricks to determine which logging API to use.
Ok, then I stand corrected (and need to reread the articles ;-).
Tom
-
To unsubscribe, e-m
Interesting idea, my compliments, I'll save your code...
But when I start thinking about it, I'm not sure where I'm going to end up if I
started using this approach. If every application would have an FTP server
running to configure log4j, I would quickly die managing the FTP ports. The
final
> Is it possible to put envirinment variables into the configuration file?
Not as far as I know.
> The reason I ask is that I develop on a windows machine, and deploy onto
> a linux, so the paths where I want to store the logs are differant.
>
> If it is not possible, does anyone have a suggesti
Just making sure: note that these are system properties, not environment
variables. You need to use "-D" when starting java to transport individual
environment variables to the system properties.
Quoting Ceki Gülcü <[EMAIL PROTECTED]>:
> As Alison Ortega mentioned, log4j configurators support
Okay, here is something interesting. I mentioned my problems with log4j.debug
before, but had to reinstall my laptop (Oracle and Informix were getting in
each others hair) and before I was back at this point... Anyway.
Sometimes when I set the log4j.debug log4j is not debugging, but I do get log
Maybe someone is interested.
Since I had all these problems with the autoconfig, I wrote a servlet to solve
that. The servlet does the following:
- searches for log4j.properties in web-inf/classes
if it doesn't find it, it reverts to autoconfig
- it has a own worker thread for checking changes
10 matches
Mail list logo