If you want to do application logging log4net is a great. However if you need statistics logging, you should look at Google Analytics or some sort of IIS logparser.
I will explain my intention.If the user needs to access the site he needs to log in to the site.For this i need to use log4net.How can i use the log4net for this task.Is there any documentation or some samples related with this.Once a user logs in i need to save the pages that he is visiting.IS there any episerver bulid in functinality to acheive this.or I need to create tables and store the details of the pages the logged in user is visiting.Please advice
Just an idé!
You can build a HttpModule. Register a proper event on the Init method. Some event after the AuthenticateRequest and AuthorizeRequest. If the user is known log the request.
Sadik, i'm not sure if it is what you are looking for, but EPiServer has a built in statistics tool:
If that is not what you are looking for, you will need to create your own version :) EPiServer uses log4net for logging, so it shouldn't be that difficult. Check out the EPiServerLog.config file. You can create a new custom database, a new db appender for log4net, and use that to log whatever you need.
Lars Øyvind Bodahl
Is there any sample code how to create a logging using log4net in Episerver CMS SP2?
How can i create a loging in Episerver site using log4net .How can i save the details of pages visited by user .