Go to the source code of this file.
◆ LOG_ITEM_MAX
Maximum number of key/value pairs in a log event.
May be changed or abolished later.
◆ log_item_iter
Iterator over the key/value pairs of a log_line.
At present, only one iter may exist per log_line.
◆ log_line
◆ log_service_instance
State of a given instance of a service.
A service may support being opened several times.
◆ log_builtins_error_stack_unlock()
void log_builtins_error_stack_unlock |
( |
| ) |
|
Release a lock on the error logger core.
◆ log_builtins_error_stack_wrlock()
void log_builtins_error_stack_wrlock |
( |
| ) |
|
Acquire an exclusive lock on the error logger core.
Used e.g. to pause all logging while the previous run's log is read to performance_schema.error_log.
◆ log_builtins_started()
When the logger-core was initialized.
- Return values
-
0 | logger-core is not currently available |
>0 | time (micro-seconds since the epoch) the logger became available |
◆ log_line_error_stack_run()
bool log_line_error_stack_run |
( |
log_line * |
ll | ) |
|
MySQL server's default log-processor.
Apply all components (filters, sinks, ...) in the log stack to a given event.
- Parameters
-
ll | the log-event to process |
- Return values
-
◆ make_log_path()
Create a log-file name (path + name + extension).
The path will be taken from @log_error. If name + extension are given, they are used. If only an extension is given (argument starts with '.'), the name is taken from @log_error, and the extension is used. If only a name is given (but no extension), the name and a default extension are used.
- Parameters
-
result | Buffer to return to created path+name+extension in. Size must be FN_REFLEN. |
name_or_ext | if beginning with '.': @global.log_error, except with this extension otherwise: use this as file name in the same location as @global.log_error |
Value may not contain folder separators!
- Return values
-
LOG_SERVICE_SUCCESS | buffer contains a valid result |
LOG_SERVICE_BUFFER_SIZE_INSUFFICIENT | an error occurred |
◆ log_filter_builtin_rules
◆ log_service_instances
anchor
anchor
(Each service can have no/one/several instances.)
◆ log_sink_pfs_source