In addition to the text log for humans, we could keep a log of internal events, mostly to be able to track down exactly what was done with a GoLismero database.
Some possible events to save (plus timestamp and duration when applicable):
Socket connections, their source and destination ports and IPs, (by hooking the socket library).
Calls to external tools, exact command line.
Plugin start and stop events.
Stage change events.
Opening and closing of the database. (This could be done with a SQL trigger, maybe?).
In addition to the text log for humans, we could keep a log of internal events, mostly to be able to track down exactly what was done with a GoLismero database.
Some possible events to save (plus timestamp and duration when applicable):