nextcloud/server

Standardization of log messages from the Audit App

Closed this issue · 2 comments

Is your feature request related to a problem? Please describe.
It would be easier to parse the Audit Log if all Entries have the same format.
Now i need to use a lot of regex to parse some entries in the audit.log file.
A standardized entry Format like Action: "What happened" would be nice

Describe the solution you'd like
A Format like in the Files Module would be great

'File renamed: "%s" to "%s"',

The entries from this Line

'The %s "%s" with ID "%s" has been shared via link with permissions "%s" (Share ID: %s)',
are hard to parse
Edit:
for example
'%s shared via link: \""%s" with ID "%s" has been shared via link with permissions "%s" (Share ID: %s)\"',

Hi there, do you mind creating a PR that improves this for discussion?
Thank you!

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.