Discussion Locked

Solaris 2.5, NES3.0 & wusage 7

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Is there someway to stop NES 3.0 from reporting the sysdate beyond the 24 hr format
Eg. "216.103.70.227 - -[25/Jun/2001:35:58:53 +1200] "GET /favicon.ico HTTP/1.1" 404 207"
This is prob causing the log files created by wusage to report the time wrong. Its missing the reports of sysdate beyond 24 hrs.

Thanks

4 replies

by insatiable

Hi! I'm running NES 3.x on Solaris 2.6 and Wusage also.
I get the same exact error occasionally, but I used to get more. It drove me nuts until I found out what it means.
Here's your answer:
The favicon.ico is an icon that the IE browser looks for when someone has added it to their favorites and goes to retrieve it later.

If you look at the IE browser, under Favorites, you'll see special icons applied to the bookmarks.

You can create them so that they are unique to your website. Michelanglo is the software that our web designers used.

Once you put the favicon.ico in the directory/folder (probably your home directory, but you can do for other directors/folders), then you won't get the error. (And your logs will be easier to read! haha)

Hope that helps!! Good luck,
Melissa

by insatiable

Geesh -- I obviously didn't read your question well before posting an answer, did I? Please forgive me -- allow me to blame it on painpills I was taking two weeks ago.. haha

Anyway, I can still help.

My logs report the date in 24 hr time and it works great -- I archive logs back for a few years.

Are you sure your wusage configuration file is working correctly?

The wusage configuration file that you're using to run the reports needs to point at all the directory/folders that are holding your log files. Maybe you have it pointing at just one file.

Another thing to check is your NES. Do you roll the logs over at midnight every night? Mine save to the same directory, but they don't get deleted.

It kinda sounds like your configuration file only looks at the access or errors log file, and not anything else that might be in the same folder/directory like access.08Dec-12AM

Let me know if you want me to post more comments.... :-)
Good luck,
Melissa

by chandras

Hi Melissa

Thanks for the info. Looks like its a bug within NES 3.0 and theres no bug fix for this. I have been in correspondence with Thomas Boutell from Wusage. This is his reply
Wow, that's pretty bad! I've never seen a log file messed up inthis
particular way before!

Wusage definitely won't accept an hour past 23. Sorry.

We can look into trying to do some clever modulo arithmetic on this
in a future release, but in the short term I think you'll need to look
into fixing these logs with Perl.

Which I have undertaken already. Once again thanks for your help.

Chandra

This discussion is closed to new replies.