|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
About IIS log tracking! Thanks!
Hello! I hope to write a C++ program to track the IIS log in real time. When a log event occurs, my program can be notified, and get the log information. I check the MSDN document and It talks about buliding a custom log module. It can get the log information from IInetLogInformation interface. However, I don't want to create a custom logging module. The information (such as client-ip, method.... etc.) provided by the default log is enough for me. I just hope when a log event occurs, my program can be notified, and get the general information for this event (such as client-ip, method, port.... etc.). Is that another way to do so, or there is any document I should read. Thank you very much!
|
|
#2
|
|||
|
|||
|
The IIS logs are just text files, so I guess you'd need something at the filesystem level to notify you when a file changed. IIS offers ODBC logging to a DB, maybe you could log to a sql server and use a trigger or something.
__________________
====== Doug G ====== "Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > About IIS log tracking! Thanks! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|