Ticket #168 ( Pending IE )

Short Description log management
Entered By: PeteL When: 1998-09-25 10:31:21 Build: 1.03.25g
Categories Type: Suggestion   Department: Product   Category: Missing Product Feature
currently there is a log of startup/shutdown/event information which is written to all the time - there is no facility to manage this log, and without management, it will eventually grow to be a problem. The event messages are of only marginal use, since they don't contain any date/time/user information, and I believe they are also written to the NT event log. Would you be more likely to integrate some form of log management into Screensurfer, or expect the users to use a third-party (like WinBatch) product to deal with archival/removal of the log?
Append By: WindSurfer  When: 1998-10-08 16:28:47  New Status: Pending Customer
Comment We are adding standard HTTP logging to Screensurfer-- for each hit, you will be able to modify a number of the log record variables in your SurferScript.
Append By: PeteL  When: 1998-10-22 06:21:07  New Status: Pending IE
Comment where can I find documentation on the record format? I know it's the same as IIS, is that in the IIS online doc somewhere?
also, what happens when selecting the different retention selections? If I pick weekly, does it strip off records that are more than a week old, or does it delete the file after a week, meaning that some records will only be less than a day old?
Append By: WindSurfer  When: 1998-10-22 07:07:07  New Status: Pending Customer
Comment Most of the record format is documented only in the IIS 4 online stuff. I'll try to post the format later today. The first integer in the record is the number of milliseconds the "hit" took. Other numbers of interest are at the end, where you will see three numbers; max host response time, last host response time and time spent in recognition engine (haven't ever seen above 0, so probably getting rid of it).

No records are ever deleted, as log files for Internet and Extranet sites are too valuable for usage analysis and so on. What happens is that based on the frequency, a new file with the current day's date in the name is created.

Append By: PeteL  When: 1998-10-22 08:49:41  New Status: Pending IE
Comment what would you think about providing the capability to flush the log buffer from the admin console? If you're using the log to debug something, (as I was attempting to do yesterday), in order to get the most recent log entries, you have to bring the service down to close the file. Not really important, but it could be useful.
Append By: WindSurfer  When: 1998-10-22 09:26:12  New Status: Pending Customer
Comment If you perform a soft shutdown, then restart (which won't affect any active sessions), the log is flushed.

You can also flush by viewing the settings page and submitting it (don't need any changes for the flush to happen.

An explicit log flush action would definitely be more friendly-- meanwhile, the soft shutdown/restart or settings submit will do the trick.

Append By: PeteL  When: 1998-10-29 10:00:17  New Status: Pending IE
Comment OK, should we leave this open as a placeholder for the friendly version?
Append By: WindSurfer  When: 1998-12-12 15:05:06  New Status: Accepted
Comment Accepted that Console needs a friendly log-flush function that is explicitly accessable.
Append By: WindSurfer  When: 1999-01-05 16:40:28  New Status: Pending Customer
Comment The Console Settings page now has a "FlushLog" button next to the Log file Frequency selection whenever the HTTP logging is active. When you click, the log is flushed and a pop-up will inform you that this has been performed.

Available in ftp://ftp.ieinc2.com/pub/surfer/t1_3_28e.zip

Append By: PeteL  When: 1999-01-19 11:25:56  New Status: Pending IE
Comment button is there, but doesn't seem to be working consistently. It took about 4 attempts to get the data actually available via Explorer, leading me to believe it may have actually flushed because the buffer had filled. I'll try it some more after lunch.
Append By: PeteL  When: 1999-01-27 09:41:59  New Status: Pending IE
Comment additional/related question/suggestion - I am now actively planning the HTTP logging implementation. Easy enough to turn the capture on, but again, I need to take care of log cleanup/archival now before I put it up and ignore it (then have the server crash cause it's out of disk space). I'm looking at how to schedule my stuff (renames/deletes, etc.) and the use of the AT scheduler command, but realize that I'm somewhat dependant on the rollover that is done by the Screensurfer Frequency setting for the log. What would be really nice is if I had the capability to RUN a program of my own immediately after the rollover. Could this be added to the Admin Console? a RunAfterRollover or something where I could simply put a program name and you would run it? It'd sure make this task simpler.
Append By: PeteL  When: 1999-01-27 09:46:56  New Status: Pending IE
Comment sorry, one more thing - when building the http log file name, it would be helpful if the date part were consistent, e.g. YYYYMMDD all the time, instead of just when the month and day are two-digit - in other words, please put the leading zeros in for month and day.


Append By: WindSurfer  When: 1999-01-27 10:04:46  New Status: Pending Customer
Comment Thanks for pointing that out--fix is in for a guaranteed 2 digit for the month and day.

Meanwhile, the YYYY has not been set to any particular width, so that Screensurfer will be ready for the year 10,000.

Append By: WindSurfer  When: 1999-01-27 10:53:34  New Status: Accepted
Comment Sorry, missed the first question-- will put-in a runafterrollover command. This will have the old file name and new file name as parameters.
Append By: PeteL  When: 1999-01-28 13:35:48  New Status: Pending IE
Comment that seems like it will do the trick very nicely (I was even going to ask for the filenames as parameters, but figured I could deal with it if I could at least get the thing to run)
now for the question you always love - any idea when?