Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » event logging system

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 983 Views
  • eoor
    Community Member
    5 Posts

    event logging system Link to this post

    Hi, I want to implement event logging system to SS.Each action in admin panel that change something should be logged. Has anybody any idea how it can be done?

  • Willr
    Forum Moderator
    5497 Posts

    Re: event logging system Link to this post

    Well SilverStripe has a versioning system which you can see when people republish pages and what changed - under Page Version History on the left which will show you each revision. If thats not enough and you need to log every event I would say use a 'onBeforeWrite()' method on whatever you want to log. Eg if changes on page you could do an onBeforeWrite() method which saves or emails or logs to a file etc before it saves the object

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.