wood burning stoves*
The moose likes JBoss/WildFly and the fly likes Avoid Generating the log files in jBoss. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Avoid Generating the log files in jBoss." Watch "Avoid Generating the log files in jBoss." New topic
Author

Avoid Generating the log files in jBoss.

Rajendiran R. prakash
Greenhorn

Joined: Nov 22, 2007
Posts: 19
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

Joined: Jul 20, 2005
Posts: 10102
    
165

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.


[My Blog] [JavaRanch Journal]
Rajendiran R. prakash
Greenhorn

Joined: Nov 22, 2007
Posts: 19
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Avoid Generating the log files in jBoss.