Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Avoid Generating the log files in jBoss.

 
Rajendiran R. prakash
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,

I have Eclipse with JBoss 3.2.5 configured. When the Users access my application the size of the log file is getting increased to some GB's. It lowers the performance of the application. If i delete the log files, then the performance is maintained. Can anyone provide me suggestions on avoiding the creation of log files.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which log file are you interested in? Is it the server.log or is it your application's log file? If you are talking about server.log file, then edit the log4j.xml file which is under %JBOSS_HOME%\server\< serverName>\conf folder to configure the "FILE" appender. That log4j.xml already has a commented out section as an example for size based log file.
 
Rajendiran R. prakash
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jaikiran,

Thanks for the reply. Sorry for not having the clarity. I'm concerned about the server.log. My Problem has been solved. Thanks a lot once again.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic