WOStatisticsSore entry error (<NULL>'s and extra space)
WOStatisticsSore entry error (<NULL>'s and extra space)
- Subject: WOStatisticsSore entry error (<NULL>'s and extra space)
- From: Gerald Hanks <email@hidden>
- Date: Wed, 28 Jul 2004 13:48:15 -0600
I have turned on the statistics logging in my application by adding the following line to my application constructor:
this.statisticsStore().setLogFile("/var/log/httpd/" + this.name() + "-access.log", 86400000);
I have noticed that there seem to be two different problems in the log file that gets created. The first one is that I will get entries that start with:
<NULL>
repeated from 1 to 5 times. An example from the log looks like this
<NULL><NULL><NULL>213-48-2-31.bas.cvx.blueyonder.co.uk - - [28/Jul/2004:11:47:02 -0600] "POST /MyApp/SearchListing HTTP/1.1" 200 24347
What is causing the <NULL>'s to be inserted into the log?
The next problem that I have is the formatting for the date stamp. It appears that there are 2 spaces between the datetime and the timezone fields (see the example above). The proper format for CLFF is to have a single space. This extra space seems to throw off the statistics analyzers. Any clues as to how to fix this one?
--gerald
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.