Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java util logging problems  RSS feed

 
kaushik selvaraj
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using the java util logging with FileHandler. Sometimes when the memory usage becomes high the logger stops logging the entries but the application works fine. So I end up with partially full log file that makes no sense.
I am having a strong reference to the Logger object in my code so the JVM should not be GC'ing it. So i am not sure what the problem is. When my application is done processing should i flush or something?
If anyone has faced the same problem please let me know what the reason is and what the solution is.
Thanks
Kaushik
 
Sean Sullivan
Ranch Hand
Posts: 427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What JVM? What platform?
How large are the log files?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!