-
Posted to
IIS7 - Advanced Logging
by
jjy2
on
10-19-2009, 9:19 PM
Hi again,
When the server was under load, I see the value in the log files ok.
I was just curious when I found the error in the event log with Beta1
Thank you.
-
Posted to
IIS7 - Advanced Logging
by
jjy2
on
10-19-2009, 9:17 PM
Hi Bobby.. I am so sorry wasting your time. I somehow incorrectly casted the PBYTE to short resulting in trucating second bytes of the short value... clearly not a C++ expert.. beginner..
Thanks for your help..
-
Posted to
IIS7 - Advanced Logging
by
jjy2
on
10-16-2009, 9:55 PM
I tried the counter for the _Total instance and it looking good in the perfmon
While Internet explorer is running, I just pressed F5 key for 10+ seconds, and I could see the impact immediately. So I guess I don't really need to concern about that event log error message as it will keep write the log entry whenever the counter ...
-
Posted to
IIS7 - Advanced Logging
by
jjy2
on
10-15-2009, 6:02 AM
Hi Bobby,
what I am doing is that I copy HTTP_TRACE_EVENT parameter value received in ProcessLogEvent function of my module, then the copy is sent to a message queue.
Below is HTTP_TRACE_EVENT_ITEM filled with "Status" info, captured while I was debugging. (It's original parameter value, not a copy)
If ...
-
Posted to
IIS7 - Advanced Logging
by
jjy2
on
10-14-2009, 8:14 AM
I could add & monitor "Request/Sec" counter of object "ASP.NET Apps v2.0.50727" in the perfmon, (is that the right counter?)
I don't do any impersonation in my application and the site is using "Network Service" identity
Sometimes it gives me a valid number for the field, but most of time it is nil.
-
Posted to
IIS7 - Advanced Logging
by
jjy2
on
10-14-2009, 7:52 AM
[quote user="bobbyv"]I believe the type for 'status' is 'TypeSInt16'[/quote]
Sorry but what's TypeSInt16? where can I find information?
I am using real-time logging.
Thanks
-
Posted to
IIS7 - Advanced Logging
by
jjy2
on
10-13-2009, 9:25 AM
When I check http status code, code 200 is always ok.
but I get "46", "48" etc instead of 404, 304 and so on.
maybe I shouldn't just cast *pbData to short?
However if I select "Write to disk" option and see the log files, it correctly written 404 and 304 etc..
Thank you
-
Posted to
IIS7 - Advanced Logging
by
jjy2
on
10-13-2009, 8:44 AM
Hi Bobby,
I suspect the error was this
Failed to initialize performance counter \W3SVC_W3WP(_Total)\Requests / Sec. Data for this performance counter data will not be recorded until the counter is available. PdhCollectQueryData: 0x0X800007D5.
I see this message after I installed RTM (maybe string table entry for this error was missing before)
-
Posted to
IIS7 - Advanced Logging
by
jjy2
on
10-12-2009, 6:55 PM
Hi Bobby,
Thanks for the update!
I have setup "failed request log" for any errors since, but I havent' find any useful information that are related to those event logs yet
But if I find anything, I will post the information
Thanks Bobby.
-
Posted to
IIS7 - Advanced Logging
by
jjy2
on
09-29-2009, 12:54 AM
Could you please tell me when can we expect RC or RTM?
I've been testing real time logging about a month and it works perfectly for me. I occasionally see error message in the event log "The description for Event ID 0 from source IIS Advanced Logging Module cannot be found. "
But I suspect that may be something to do with my code!