Dear Oliver,
TIA
I will use some of the abreviations in future Log4J mails. No fear Ceki, it
is just a joke.
Thilo
-Original Message-
From: Kurt, Oliver [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 21. Juni 2001 09:05
To: 'LOG4J Users Mailing List'
Subject: AW: Logging to multiple files
Hello List.
Sorry if the questions I will ask have already been answered on this
list but right now I could not find a place to search the archives.
RollingFileAppender:
What setting do I need for maxBackupIndex if I want to keep ALL backups?
DailyRollingFileAppender:
I have a tool that uses a
Thanks for your quick answer!
And yes indeed, the client (JBoss2.2.2) was using log4j1.0.4, and the server
(SocketServer) was using log4j1.1.3.
Using 1.1.3 for both solved the problem!
Matt
--
Are you using a custom Priority class? Is there a mismatch between the
Can I send it to you? It is just going through beta testing with some
people.
Richard
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Yes Please! What functionality does it offer?
-Original Message-
From: Richard Vowles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 21, 2001 7:24 AM
To: [EMAIL PROTECTED]
Subject: A Log4j Wizard for JBuilder
Can I send it to you? It is just going through beta testing with some
peopl
I'm usind log4j in my webapplication and it works quite nice. This
application has one central jsp ( see code below). In this jsp I'm using the
ndc to put the sessionId in the logfiles. I should have better use the ndc
with a try{}catch(){}finally{} block in order to pop the ndc from stack in
any
The DailyRollingFileAppender is broken at least up to 1.1.2. I reported this
a few days ago. I exepct it will be fixed in a future release.
Rick Hansen
> -Original Message-
> From: Ulf Licht [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 21, 2001 3:28 AM
> To: [EMAIL PROTECTED]
> Subj
Can anybody tell who to tell log4j my 'To' and my 'SMTP-Host' while using a
config file.
I already have these entry in my config file:
log4j.rootCategory=FATAL, SMTPTest
# SMTP appender
log4j.appender.SMTPTest=org.apache.log4j.net.SMTPAppender
# SMTPAppender lay
I'm disappointed by the Category.assert() function.
It was my belief that when an assert breaks that means that the conditions
for the safe continuation of the program execution are not meet and it is
better to halt the program right away before running into big troubles.
Category.assert() obvio
Hi Thomas,
hier ist mein config file für den SMTPAppender:
log4j.appender.A3=org.apache.log4j.net.SMTPAppender
[EMAIL PROTECTED]
[EMAIL PROTECTED]
log4j.appender.A3.Subject=EVA Fehler
log4j.appender.A3.SMTPHost=1.2.3.123
log4j.appender.A3.BufferSize=5
Gruß
Sven
> -Ursprüngliche Nachricht-
Here is what the javadoc says about Category.assert():
"If assertion parameter is false, then logs msg as an error statement."
So I guess I would not have expected it to halt ny application.
> -Original Message-
> From: Zart Colwing [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 21,
Title: RE: Category.assert() disappointing
But shouldn't it in fact be FATAL and quit?
I think Zart has a point... At least the logging level should be FATAL...
Gino.
>-Original Message-
>From: Hansen, Richard [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, June 21, 2001 3:53 PM
>To:
Is a logging framework where you want to implement an assertion mechanism?
-Original Message-
From: Gino Marckx [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 21, 2001 8:57 AM
To: 'LOG4J Users Mailing List'
Subject: RE: Category.assert() disappointing
But shouldn't it in fact be FA
Hi Sven,
thank you for your quick response. I just found out how to set these missing
settings, but there is still something missing. I don't get any Mails so
far. I think log4j wants me to define a certain trigger. I already found out
that there is a class LoggingEvent which somehow can be check
I'm trying...
I've read through the manual a bunch of times.
I've read through the "Adding Conversion Characters to PatternLayout" sevreal
times.
I've even been up and down the log4j-user mailing list archives a few times.
We are currently using log4j in the "out of the box way" --> a log4j.prope
Treat Category.assert() as conditional logging, because that's what it is...
Perhaps the intent would be better illustrate with something like:
Category.logIfTrue(condition, priority, message)
And, yes absolutly, this is a LOGGING facility, not an ASSERTION facility
this is not really an asser
I know that log4j can do rolling backup files based on file size and I
have a config file for that. I have an example for doing daily rolling
files as well. Is there a way to have both? For example during the day
as the file size reaches the max file size it will cut rolling files and
at the star
> Is a logging framework where you want to implement an assertion mechanism?
Why not ? There is no assert mechanism in Java (except manually testing a
condition and throwing a RuntimeException); having one implemented in log4j
doesn't seems a bad idea at first glance.
But the point is org.apach
See the the appender "additivity" flag in the Category class. It's your friend.
http://jakarta.apache.org/log4j/docs/api/org/apache/log4j/Category.html#setAdditivity(boolean)
All see the "Appender Additivity" in user manual. Ceki
At 10:12 21.06.2001 -0400, you wrote:
>I'm trying...
>I've read
This has been a number of times in the past. Any volunteers to implement this?
Regards, Ceki
At 11:04 21.06.2001 -0400, you wrote:
>I know that log4j can do rolling backup files based on file size and I
>have a config file for that. I have an example for doing daily rolling
>files as well. Is t
Question: Why would anyone want to create a new hierarchy?
Thanks,
Tim
The information in this e-mail, and any attachment therein, is confidential and
for use by the addressee only. If you are not the intended recipient, please
return the e-mail to the sender and delete it from your computer.
As I read log4j using multi-thread to log message, however
EJB spec. basically say application should not use any thread
directly or indirectly, would this casue problem?
- jason
__
D O T E A S Y - "Join the web hosting revolution!"
If you employ a thirdparty component within your application that happens to
use log4j with the default hierarchy, and you want to keep your
configuration separate.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 21, 2001 10:42 AM
> To: [
I just found everything that was missing by working through the log4j-dev
and log4j-user mailing list. So here is my conclusion as a simple example:
My main calling class:
import org.apache.log4j.Appender;
import org.apache.log4j.net.SMTPAppender;
import org.apache.log4
Ceki,
In a previous life, before I discovered Log4j, I implemented a rolling logger
that rolled files into a dated subdirectory.
If there was no subdirectory with today's date, it created a new subdirectory.
For example, if my log file has reached
its maximum size, I close my file, create a dir
Zart, it's a good idea to log failed assertions. I agree that the method
name assert() implies that it is an assertion mechanism, though as pointed
out, it doesn't claim to do anything more than log to error based on
true/false. Sorry, can't give a better explanation for the method's
existence.
Hi,
Is it possible to configure the JDBC appender thru
the log4j xml config file like other appenders instead
of a property file ?
thanks
~thomas
__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.ya
Dear Tim,
maybe you are working with two applications (instances). So if you use two
hierachies you can garantee taht there is no interaction between these
applications (instances).
Thilo
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 21. Juni 200
28 matches
Mail list logo