Click here to Skip to main content
15,613,873 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

Did anybody can able to explain, how to generate a log file using IIS?

Mostly the log file generating in txt format, i have already using that, at now if i want to improve that from front end itself the admin person alone want to view the Log file, the log file should be generated by using IIS in ASP.Net.
Updated 28-Apr-11 18:55pm

Have a look at this[^] msdn article.
Share this answer
Member 7744835 29-Apr-11 0:46am    
Thank You
Abhinav S 29-Apr-11 1:13am    
You are welcome.
Sergey Alexandrovich Kryukov 29-Apr-11 1:53am    
Great place to start with, a 5.
Abhinav S 30-Apr-11 0:20am    
Thank you.
For log4Net:
How to use log4net[^]
Log4Net Tutorial in C# .net [^]

If needed, look here[^] for more.

For Microsoft Enterprise Library - Logging Application block:
Introduction to the Logging Application Block[^]
Getting started with the Logging Application Block[^]

While providing you the link, came across this discussion[^] that differentiates and tells the advantages of them in detail.

Last but not the least, IIS is just a facilitator. Your code is the one that will log things.
Share this answer
Member 7744835 29-Apr-11 0:46am    
thank you
Sergey Alexandrovich Kryukov 29-Apr-11 1:53am    
Good library :-) A 5.
Sandeep Mewara 29-Apr-11 1:54am    
Thanks SA.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900