You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are thinking about if it may be worth adding a audit system to afanasy server, which records in a text file all the changes that were done manually in the UI or via any tool on a job, a branch etc.
@timurhai What would be the best way to go about this? can you point me into a direction in the source code which is most central to capture this info? Maybe I can then build it myself.
The text was updated successfully, but these errors were encountered:
Hello! Sorry for a delay.
Each node has a log and a method to add line to it.
Any change produces a line of log.
By default node keeps 100 lines (af_node_log_lines_max).
The method, can add same line to some file.
But there should be some mechanism to rotate log files and delete old.
There is already AfNodeSrv::appendLog function that called on each change (action).
We can add some static function to log all nodes in one file (and file rotation).
Hello!
There already store statistics in SQL database.
May be it should use SQL to log all changes too?
And database engine will process storing, clearing, searching?
We are thinking about if it may be worth adding a audit system to afanasy server, which records in a text file all the changes that were done manually in the UI or via any tool on a job, a branch etc.
@timurhai What would be the best way to go about this? can you point me into a direction in the source code which is most central to capture this info? Maybe I can then build it myself.
The text was updated successfully, but these errors were encountered: