Instances of this class are contained in the LogFile property of the Site and SiteElementDefaults classes.
The following table lists the possible values for the LogExtFileFlags property. The default attributes are ClientIP, Date, HttpStatus, HttpSubStatus, Method, ServerIP, ServerPort, Time, UriQuery, UriStem, UserAgent, UserName, and Win32Status.
Value
|
Attribute
|
|---|
1
| Date |
2
| Time |
4
| ClientIP |
8
| UserName |
16
| SiteName |
32
| ComputerName |
64
| ServerIP |
128
| Method |
256
| UriStem |
512
| UriQuery |
1024
| HttpStatus |
2048
| Win32Status |
4096
| BytesSent |
8192
| BytesRecv |
16384
| TimeTaken |
32768
| ServerPort |
65536
| UserAgent |
131072
| Cookie |
262144
| Referer |
524288
| ProtocolVersion |
1048576
| Host |
2097152
| HttpSubStatus |
The following table lists the possible values for the LogFormat property. The default is 2 (W3C).
Value
|
Keyword
|
Description
|
|---|
0
| IIS |
The log file records in IIS format. This format is fixed ASCII text and is not customizable.
|
1
| NCSA |
The log file records in National Center for Supercomputing Applications (NCSA) Common log file format. This format is fixed ASCII text and is not customizable.
|
2
| W3C |
The log file records in W3C Extended log file format. This format is in ASCII text and is customizable.
|
3
| Custom |
The log file records in a custom format decided by the user.
|
The following table lists the possible values for the Period property. The default is 1 (Daily).
Value
|
Keyword
|
Description
|
|---|
0
| MaxSize |
The log file is closed and a new log file is started when the value in TruncateSize is reached.
|
1
| Daily |
The log file is closed and a new log file is started once per day.
|
2
| Weekly |
The log file is closed and a new log file is started once per week.
|
3
| Monthly |
The log file is closed and a new log file is started once per month.
|
4
| Hourly |
The log file is closed and a new log file is started once per hour.
|