This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes how to avoid non project logs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "how to avoid non project logs" Watch "how to avoid non project logs" New topic
Author

how to avoid non project logs

palakolanusrinu Reddy
Greenhorn

Joined: Jan 03, 2008
Posts: 24
Hi all,
I need urgent help from any one of you..

actual problem is:
when ever we process the request by using struts frame work complete information is printing in logs but in logs its printing project specific info as well as struts related info also

now i want to avoid that struts related info
can any one help in this its very urgent.

thanks in advance

regards
Srinu
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9930
    
159

Are you using Log4j for logging? If yes, then have a look at their manual which explains how to configure appenders for a logger. Alternately, if you want to disable struts logging altogether, then you can set it OFF as follows:



[My Blog] [JavaRanch Journal]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: how to avoid non project logs
 
Similar Threads
Urgent !
urgent
urgent
logs required for each module separatly
Urgent !