• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WOStatisticsSore entry error (<NULL>'s and extra space)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOStatisticsSore entry error (<NULL>'s and extra space)


  • Subject: Re: WOStatisticsSore entry error (<NULL>'s and extra space)
  • From: Colin Clark <email@hidden>
  • Date: Thu, 29 Jul 2004 17:37:05 -0400

Hi Gerald,

We've seen this with our statistics logs as well. I honestly can't remember why the <NULL>s are being inserted by WO but it is a bit annoying. Maybe Karl knows?

I can't remember exactly, but I think we ended up writing a script to strip these out so our log analyzer didn't choke. As for the invalid format of the timestamp, you should be able to configure your log analyzer to handle this format.

You may also want to file a bug about these issues on RadarWeb.

Colin

On Wednesday, July 28, 2004, at 03:48 PM, Gerald Hanks wrote:

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.



---
Colin Clark
Dynamic Web and Database Development Lead,
Resource Centre for Academic Technology,
University of Toronto
_______________________________________________
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.


References: 
 >WOStatisticsSore entry error (<NULL>'s and extra space) (From: Gerald Hanks <email@hidden>)

  • Prev by Date: What to Do When Wotaskd Dies
  • Next by Date: Re: Fault Confusion
  • Previous by thread: WOStatisticsSore entry error (<NULL>'s and extra space)
  • Next by thread: Dreamweaver translator extension for WebObjects
  • Index(es):
    • Date
    • Thread