1
0
mirror of https://github.com/MariaDB/server.git synced 2026-10-23 18:49:29 +03:00
Files
mariadb/mysys
Jan Lindström df2582990d MDEV-33763 : Buffered error logging for Server error log
New read-only system variables (set at startup, need --log-error):
* log_error_file_buffer_size: error log buffer size, default 0 (off)
* log_error_file_rotate_size: rotate the error log above this size,
  default 1073741824
* log_error_file_rotations: number of rotated files kept, default 0

Changes:
* Write the error log through the logger service, which batches writes
  in an in-memory buffer, when log_error_file_buffer_size is set.
* print_buffer_to_file() uses one static buffer, allocated on first use
  (MAX_LOG_BUFFER_SIZE+1), grown as needed and freed at shutdown.
* vprint_msg_to_log() writes lines longer than 1024 bytes in full, up
  to 1 MB.
* Galera messages use the same error log path. Debug messages are
  written only if wsrep_debug is set.
* Add mtr tests for the three variables, buffered logging, rotation and
  long lines.

Assisted-by: https://mariadb.org/governance/governance-ai-policy/
2026-10-20 09:04:41 +03:00
..
…
2025-04-29 11:18:00 +10:00
2026-06-24 12:27:13 +02:00
2024-05-10 20:02:18 +02:00
2023-08-04 08:01:06 +02:00
…
2026-05-26 21:15:58 +02:00
2026-02-07 22:12:32 +01:00
…
2025-07-31 20:55:47 +02:00
…
2025-04-29 11:18:00 +10:00
…
2022-04-25 09:40:40 +03:00
2026-03-24 09:49:17 +02:00
…
2026-05-26 21:15:58 +02:00
2026-05-04 18:21:26 +02:00
…
2026-06-15 16:53:03 +02:00
2025-01-09 09:41:38 +02:00
2026-06-15 16:53:03 +02:00
2026-05-26 21:15:58 +02:00
2024-11-23 08:14:22 -07:00
2023-10-14 13:36:11 +03:00
…
…
2025-09-24 13:40:09 +03:00
…
…
2021-03-19 11:14:53 +11:00
2024-10-31 10:01:01 +01:00
2026-05-08 08:00:01 +02:00
2021-10-29 18:29:01 +02:00
2026-06-24 12:27:13 +02:00
2026-01-08 12:02:45 +01:00
2024-10-29 14:47:32 +01:00
2024-02-02 17:43:57 +01:00
2026-01-21 00:22:06 +07:00
2025-10-25 00:19:11 +07:00
…