Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Non-repudiation & logging on EPiServer

Vote:
 

Hello there,

I have a small and quick question regarding EPiServer: does exist any built-in logging mechanism to know what user has done what action in either the administration or the front web? Or I have to implement these mechanisms myself?

Thank you

David

#87530
Jun 16, 2014 17:28
Vote:
 

I have not tried it for edit and admin, but I think you might be after something like this.

http://world.episerver.com/Documentation/Items/Developers-Guide/EPiServer-CMS/75/Configuration/Configuring-Live-Monitor/

#87534
Jun 16, 2014 20:49
Vote:
 

Hi David,

For logged in users doing changes to content you can check out the change log. It's housed in the admin mode of the CMS and you can also access it programatically.

http://world.episerver.com/Documentation/Class-library/?documentId=cms/7.5/36c6f51a-762e-2871-231c-161732d835b8

/T

#87539
Jun 17, 2014 2:46
Vote:
 

For the website itself I recommend using log4net to do logging and put it in your service layer.

Bonus point for extracting auditing/logging to a separate decorator which would be the cleanest solution. If you are feeling really fancy and have pretty high lvl of knowledge in your company, you might actually use aspect oriented programming and create an interceptor class to handle this. Then it would be possible to solve logging / auditing for the entire solution with just a few lines of code. AOP is really good for solving cross cutting concerns like auditing on a website.  

#87549
Jun 17, 2014 9:26
* 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.