Friday September 05, 2003

Log4J: 2 Appenders - one gets errors, other gets all (doesn't work) I sent a message to the log4j-user mailing list this afternoon, but have not received a response - so hopefully someone can help me out. Here's the problem I'm having:
I have two appenders - a console and a file. I want all messages to
go to the console and only <= error to go to the file.
In my file appender, I have a filter to only get the error messages:
<filter class="org.apache.log4j.varia.LevelRangeFilter">
<param name="LevelMax" value="ERROR" />
</filter>
Then in <root> I have:
<root>
<level value="DEBUG"/>
<appender-ref ref="CONSOLE"/>
<appender-ref ref="FILE"/>
</root>
From the documentation I've read (i.e. http://tinyurl.com/meef), this
*should* work. However, all messages get logged to both the console
appender and the file appender.
Any advice is appreciated.
Posted in Java
at Sep 05 2003, 10:11:38 PM MDT
6 Comments
I dig Dave's New Look Dave, I dig your new Bluebar Theme. Very nicely done - now if I could just get you to make "Blogging Roller" into a link with the same href as "Home." I constantly click on it with no results. That goes for all Roller users - please make the title text or image of your blog into a link. Here's how:
<a href="$ctxPath/page/$userName" title="Home">Your Title Here</a>
Posted in Roller
at Sep 05 2003, 05:18:13 PM MDT
Add a Comment
Dual Monitor Video Card
Found this daddio from some co-workers today: GeForce4 MX440 64MB DDR 4x AGP Card w/Dual VGA. All for a measly $36.55. Now if they only made one of these for laptops. I'd love to make my next computer an Intel-based PowerBook, but you can only plug in one additional monitor to a laptop - I'd love to have dual.
Posted in General
at Sep 05 2003, 11:27:52 AM MDT
2 Comments
Search This Site
Recent Entries
- Secure JSON Services with Play Scala and SecureSocial
- My What's New in Spring 3.1 Presentation
- Twitter's Open Source Summit: Bootstrap 2.0 Edition
- Refreshing AppFuse's UI with Twitter Bootstrap
- 2011 - A Year in Review
- Upgrading AppFuse to Spring Security 3.1 and Spring 3.1
- What have I been working on at Taleo?
- Our Engaging Trip to Paris and Antwerp
- My HTML5 with Play Scala, CoffeeScript and Jade Presentation from Devoxx 2011
- Deploying Java and Play Framework Apps to the Cloud with James Ward