This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes how to view log4j log in eclipse console Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "how to view log4j log in eclipse console" Watch "how to view log4j log in eclipse console" New topic
Author

how to view log4j log in eclipse console

Raj Ohadi
Ranch Hand

Joined: Jun 30, 2006
Posts: 316
I know we can use log4j to record log in files in certain format. Wondering how can I view them in eclipse console so I can immediately track the progress of code flow ? i.e. just want to have log4j or apache common log included in my code but want to view them in eclipse console as those "System.out.print" ?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9962
    
163

May be configure a ConsoleAppender and then attach your logger package with this console appender. Something like:



[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to view log4j log in eclipse console
 
Similar Threads
Is there a Eclipse Console log file?
How can i add Log4j suppourt to my Application
How Can I log my pintStackTrace () statement into log file?
eclipse - where does it write the console output to ?
problem using log4j with eclipse and glassfish