This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Log4j Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Products » Tomcat
Bookmark "Log4j" Watch "Log4j" New topic


jandhyala sastry

Joined: Apr 28, 2004
Posts: 9
*Problem description*: my statements from my classes are logged in to the *app.log* file which is my application log file and also on my *Websphere console* (System out.log ) staements are displaying , actually my requirement is to see logger statements in my application log file i.e. (app.log file) but not in console. how to stop my logging statements to appear in console?

Is thereanything i am missing here !!!

I am loading log4j. properties using the following line in one of my classes ...



# Specify where to log by packages.,dest1



Thanks in Advance,
[ May 08, 2008: Message edited by: jandhyala sastry ]

SCJP, SCWCD, SCBCD<br /> <br />Thanks in advance!<br />Jandhyala Sastry.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Log4j
It's not a secret anymore!