, but its doRender(Object)
method is never getting called.
Any ideas? Thanks!
-
Colin MacDonald | Software Developer | Templar Corporation |
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http
.
-
Colin MacDonald | Software Developer | Templar Corporation |
-Original Message-
From: Mike_McAngus
Sent: Thursday, June 06, 2002 7:02 PM
To: Log4J Users List
Subject: Re: I18n via Renderer
...
We plan to use
it may not be in an older
release.
Hope that helps! I went through setting this up a while back, so let me
know if you have other questions. I may be a bit rusty, though... :)
-
Colin MacDonald | Software Developer | Templar
Oh, my version just identifies itself as 1.2. I take it the .dll got left
out at some point? It's been a few months since I messed with it, so I may
have pulled it from elsewhere.
-
Colin MacDonald | Software Developer
properties, and
properties\%COMPUTERNAME% has machine-specific ones. With the
path in this order, the machine-specific properties get picked
up first.
-
Colin MacDonald | Software Developer | Templar Corporation |
---
Outgoing mail
?
-
Colin MacDonald | Software Developer | Templar Corporation |
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.377 / Virus Database: 211 - Release Date: 7/15/2002
log4j.logger.com.mycompany.myotherclass=INFO,fileAppender2
And you probably want to set:
log4j.additivity.com.mycompany.myclass=false
log4j.additivity.com.mycompany.myotherclass=false
Or am I missing something here? ;)
-
Colin MacDonald | Software Developer
log4j.appender.FILE.layout.ConversionPattern=%d{MMM dd HH:mm:ss} %5p
(%C.%M:%L) - %m%n
Hope that helps. If not, send your properties file.
-
Colin MacDonald | Software Developer | Templar Corporation |
---
Outgoing mail is certified Virus Free.
Checked by AVG anti
everything. Let me know if you still have problems.
-
Colin MacDonald | Software Developer | Templar Corporation |
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version
a waste to re-implement RollingFileAppender.
Thanks for any help on this!
-
Colin MacDonald | Software Developer | Templar Corporation |
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http
an exception or another error condition, I did add a
custom errorhandler (as Kevin suggested).
I'll take a stab at that. Thanks for the code snippet - that may well
simplify things for me.
Thanks!
-
Colin MacDonald | Software Developer
where A1 is nt event appender
where A2 is daily rolling appender
I think that should be:
log4j.rootLogger = WARN, A1, A2
log4j.appender.A1.threshold=FATAL
Hope that helps!
-
Colin MacDonald | Software Developer | Templar
?
-
Colin MacDonald | Software Developer | Templar Corporation |
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.386 / Virus Database: 218 - Release Date: 9/9/2002
just be able to use forward slashes, like:
...File=C:/App/logs/App.log
Even on Windows, Java is unix-y in its treatment of slashes.
-
Colin MacDonald | Software Developer | Templar Corporation |
---
Outgoing mail is certified
=org.apache.log4j.RollingFileAppender
log4j.appender.APPENDER1.File=C:/logs/fileOne.log
log4j.appender.APPENDER2.File=C:/logs/fileTwo.log
-
Colin MacDonald | Software Developer | Templar Corporation |
---
Outgoing mail is certified Virus Free.
Checked
writing to the screen, why differentiate them? And if one is being
redirected to a file, why not use a file appender?
Anyway, I hope this helps.
-
Colin MacDonald | Software Developer | Templar Corporation |
---
Outgoing mail
initialization.
I put my log4j.xml file inside my WEB-INF directory but log4j did not use
it.
Close! :)
It needs to be in WEB-INF/classes/
-
Colin MacDonald | Software Developer | Templar Corporation |
---
Outgoing mail
than a properties file)
Try putting it in WEB-INF/classes. I think Tomcat only adds *jar* files in
WEB-INF/lib to the classpath.
-
Colin MacDonald | Software Developer | Templar Corporation |
---
Outgoing mail is certified Virus
.
-
Colin MacDonald | Software Developer | Templar Corporation |
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.427 / Virus Database: 240 - Release Date: 12/6/2002
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED
19 matches
Mail list logo