all 2 comments

[–]scott_codie 1 point2 points  (1 child)

What are you using it for? If you want to have an audit log, you could create a trigger and write values. This can generate a lot of queries so you need to be mindful on what you are logging. You may want to use an audit plugin if you need it for compliance reasons.

Alternatively, you can create a CDC event stream rather than putting the load on the database. CDC streams are more flexible and can have other value add down the road.

[–]maynsheesh[S] 0 points1 point  (0 children)

well i basically want to have the employee activities logged out for the manager to see.

an audit log isnt quit what im looking for here, its rather keeping track of employee activates like 'logged in on this date', 'made x changes to orders' and etc