[MDEV-30315] General Log: add timestamp to each line of the log Created: 2022-12-28 Updated: 2023-12-21 Resolved: 2023-12-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Configuration |
| Fix Version/s: | N/A |
| Type: | New Feature | Priority: | Major |
| Reporter: | Yakov Kushnirsky | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
||||
| Issue Links: |
|
||||
| Description |
|
There is an enhancement request to configure General Log of MariaDB (when logging to a file) with ability to record a timestamp for every line of the Log. |
| Comments |
| Comment by Hari Hara Naveen S [ 2022-12-30 ] | ||||||||||||||||
|
Currently each line in the log file has YYMMDD HH:MM:SS time. Has this enhancement been implemented or does it request for an option to log UNIX timestamps? | ||||||||||||||||
| Comment by Sergei Golubchik [ 2023-12-18 ] | ||||||||||||||||
|
YK, how do you think it should work? I'm looking at the general log and I see something like
There's
do you just want to make timestamp not optional and keep the rest as is? it won't be "timestamp for every line of the log", as you can see. | ||||||||||||||||
| Comment by Sergei Golubchik [ 2023-12-19 ] | ||||||||||||||||
|
I still don't quite understand. You show an excerpt of the MySQL general log. Here's a different excerpt:
I see here 6 lines without a timestamp and 5 lines with. |