The Artima Developer Community
Sponsored Link

Java Buzz Forum
Sending stderr to log4j

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Simon Brown

Posts: 636
Nickname: simonbrown
Registered: Jun, 2003

Simon Brown is a Java developer, architect and author.
Sending stderr to log4j Posted: Dec 13, 2006 6:41 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Simon Brown.
Original Post: Sending stderr to log4j
Feed Title: Simon Brown's weblog
Feed URL: http://www.simongbrown.com/blog/feed.xml?flavor=rss20&category=java
Feed Description: My thoughts on Java, software development and technology.
Latest Java Buzz Posts
Latest Java Buzz Posts by Simon Brown
Latest Posts From Simon Brown's weblog

Advertisement

I'm always surprised that this isn't supported out of the box (at least I don't think it is), but here's a neat little way to send stderr to your log4j log files, etc : Redirecting System.err to log4j. Very useful if you start up Java processes on *NIX and redirect all output to /dev/null. ;-)

Read: Sending stderr to log4j

Topic: Flickr: Marti and Karen Previous Topic   Next Topic Topic: JRuby 0.9.2 released!

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use