I made the correction to work with LOGJ 1.2.6
see the File in the attachement
It is cool tool ;-)
Benoit
---
Benoit Moussaud [EMAIL PROTECTED]
Cril Telecom Software
http://www.criltelecom.com
8 rue danjou 92510 Boulogne Billancourt
(33) 1 58 17 04 78
-Message d'origine-
De :
hi all,
i am working with nagios and log4j. in my log4j.properties i have following
line:
log4j.appender.C2MNetSaintAppender.MaxFileSize=5MB
but i would prefer it, if i had a logfile of every single day. is there any
function for this?
regards, milena schrevel
Die Information in dieser E-Mail
Hi again
I am very grateful for the help I have got until now. Now I am able to
locate the properties file, and it works fine.
But unfortunately all of my problems are not solved yet.
I run log4j together with Orion in two ways. In a command line and
embedded with Intellij IDEA. I only have the
Hi,
How can I add two appennders and two log files for the same JSP file.
Regards,
Arun Jannela
**Disclaimer**
Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged'
and
You can make one appender inherit from another appender using a specific
naming convention. The two files is not a problem since each appender will
append to its own file.
This is a DOMConfigurator example, but I think the same holds for properties
(Can someone verify?).
appender name=A
-Original Message-
How can I add two appennders and two log files for the same JSP file.
Do you just mean something like:
log4j.logger.my.category=DEBUG, APPENDER1, APPENDER2
log4j.appender.APPENDER1=org.apache.log4j.RollingFileAppender
A newbie question:
My debug messages that I want to log often have multiple lines. How do I do
that?
I've tried foo\nbar and the newline is ignored.
I would want the above to generate output like:
[your log4j message header] foo
bar
or even better,
[your log4j message header] foo
Hi all, Can I configure multiple apps running in the same JVM with
different log4j properties ?
For example : I use Turbine and OJB eaxh one tries to configure log4 on
it's own. Is it possible to configure log4j separatedly so that OJB log
system doesn't see Turbine Categories for example ?
Which platform are you using? \n should work on UNIX but may not work on
Windows. On Windows some views won't recognize a single line feed as a
line separateor, you need \r\n to produce carrage return line-feed.
If you want this to be platform independent use System.Property
line.separator.