• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

Avoid Generating the log files in jBoss.

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic