It depends upon requirement. Console appender shows logging information on console and FileAppender writes it into logging file.
FileAppender's logging files are good for future reference.
Thanks for the replies but my question is from a performance point of view, which is better of the two...if am logging the same set of statements across the appln
Performance? That's really an odd question. Since they don't do anywhere near the same thing, there wouldn't be any reason to choose between them based on performance.
But if it's just a theoretical question, with no practical meaning at all, then sure, go ahead, measure away.