Name
ReadFilter —
objLogUtil
.ReadFilter( [
dtStart
], [
dtEnd
])
Synopsis
Allows you to limit the records to be read from an already opened log file. Using ReadFilter, you can limit the records you view by date range.
Parameters
-
dtStart The beginning date/time of the date range to which you wish to limit your record access. This date/time is specific to the server (as opposed to GMT).
-
dtEnd The ending date/time of the date range to which you wish to limit your record access. This date/time is specific to the server (as opposed to GMT).
Example
See the example at the end of this chapter.
Notes
Log files for even the most modest web sites can be very large. As a result, the ReadFilter method is imperative to reduce the number of records visible in the log file.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access