[MDEV-18386] Allow audit plugin to specify timestamp format when writing to file Created: 2019-01-27  Updated: 2020-11-10

Status: Open
Project: MariaDB Server
Component/s: Plugin - Audit
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Bernard Alting Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: audit-plugin, beginner-friendly, logging, timezones


 Description   

If writing to a file, the audit plugin has a fixed timestamp format which does not include a timezone.
This means that should the audit be centralised, unless the database's server is running in UTC time, one must use syslog to gain a timestamp that can include timezone information.

It is suggested a new server audit system variable is defined, which if set, contains a string the strftime() routine applies with it's format argument.


Generated at Thu Feb 08 08:43:42 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.