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
- Jack's Mohawk
- LinkedIn Cuts 10% (a.k.a. The Journey is Over)
- Happy Birthday Abbie!
- Moving from Spring's XML to Annotations in AppFuse
- Free Maven Training in New Orleans on Election Day
- AppFuse Light ยป AppFuse, Maven Archetypes and Shared Web Assets
- Great Weekend in Montana
- Colorado Software Summit 2008 Wrapup
- RESTful Web Applications with Subbu Allamaraju
- Core Animation with Bill Dudney