1
0
mirror of https://github.com/MariaDB/server.git synced 2026-10-23 18:49:29 +03:00
Files
mariadb/include
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
..
…
2024-12-02 17:51:17 +02:00
2025-11-11 10:29:45 +02:00
2026-06-29 07:40:04 +03:00
2023-01-03 17:08:42 +02:00
2025-06-25 17:59:45 +03:00
2023-04-24 12:43:47 +02:00
2026-03-24 09:49:17 +02:00
2026-03-24 09:49:17 +02:00
2026-01-05 20:34:44 +01:00
2022-12-20 08:55:48 +11:00
2023-01-04 14:52:25 +02:00
2025-01-09 09:41:38 +02:00
…
…
…
2025-06-18 07:43:24 +02:00
2022-07-31 14:54:37 +02:00
2026-05-26 21:15:58 +02:00
…
…
2025-07-31 20:55:47 +02:00
2024-12-02 17:51:17 +02:00
2025-09-29 18:25:09 +03:00
2026-05-22 09:52:05 +02:00
2026-02-06 17:46:51 +01:00
…
2024-12-02 17:51:17 +02:00
2025-02-06 16:46:36 +01:00
…
2026-01-21 00:22:06 +07:00
2026-05-26 21:15:58 +02:00
2022-12-20 08:55:48 +11:00
…