Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Blank Log files  RSS feed

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone. I've noticed that only three in my log files have actually data inside. the others seem to refer to a real session but they're empty. it's that a bug? an error I made while installing tomcat ?

My Tomcat version is 6.0.29.

I'm trying to learn how to read log files in order to discover why this happened (and for general debug of course).

thank you in advance!
 
Bartender
Posts: 19555
90
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Loggers may open (create) files before they actually have something to write to them - assuming they every do write to them. Some loggers only write data in exceptions circumstances, and the emptier the are, the better.

Also, some OS's have different ways of committing and displaying data to logs, so in some cases, data was written, but simply hasn't become visible yet.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!