• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

any way to suppress the system output

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I'm using tomcat, and these msg are outputed every hr I believe:

17:40:07,812 INFO [PooledConnection ] Real closing connection...
- Real closing connection...
17:40:07,812 INFO [PooledConnection ] Real closing connection...
- Real closing connection...

any way to disable this? or redirect it?
thanks.
[originally posted on jforum.net by balert]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can disable logging, but I don't recommend that. Are these logs a *real* inconvenience?

Rafae
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
for me, they are inconvenient. two reasons:
1. my app is always outputing data for monitoring reasons.
2. the output from JForum are always the same so I don't feel a need to read it.

can you recommend a good forum thread for disable logging? if there is one.
[originally posted on jforum.net by balert]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Edit WEB-INF/log4j.xml. You have two options:

1) Remove the category "net.jforum"

2) Change category "net.jforum" to use the appender "jforum.log", and specify to which file the logs whould be written to.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok that worked, I see how it works now. thank you.
[originally posted on jforum.net by balert]
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!