Try our conversational search powered by Generative AI!

Storing statistics from EPiserver site



I have a solution where I need to log visitors to show "most viewed articles".
To do this I'm using:

To do this, I have to enable logging on the site which is done, however the data is not stored.
I copied the settings from "filelogappender", and changed the file to "statistics.txt".

The warning on the statistic page disappeared, but I can't find the log file.

What I really want to do is to store the log in the database. The only information
I found on this was:

but I'm not sure if this is valid any more. F.ex. I can't find %programFiles%/EPiServer.LogService/EPiServer.LogService.exe.config.

So is this still valid??

In advance thanks for all replies!

Kind regards,

Jon Haakon

Feb 16, 2011 10:22

for CMS 5+ its located

C:\Program Files (x86)\EPiServer\Shared\Services\Log Service

Feb 16, 2011 11:48

I have used the log service / log generator to create such a feature once. It worked, except that the statistics were cleared now and then (when the application pool was recycled?). That might be because I did something wrong, but I would still suggest you look at other approaches for acheiving this, because the log service / statistics (at least in the current form) will be obsoleted, see

Feb 16, 2011 13:05
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.