aspose file tools*
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
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: 10220
    
166

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