Use system variables to configure the server operation.
Implemented in Percona Server for MySQL 8.0.28-19 (2022-05-12).
This variable restricts the dynamic log file locations. The variable is read-only and must be set up in a configuration file or the command line.
The accepted value is the directory name as a string. The default value is an empty string. When the value is an empty string, the variable only adds a warning to the error log and does nothing. If the value contains a directory name, then the slow query log and the general log must be located in that directory. An attempt to move either of these files outside of the specified directory results in an error.
For free technical help, visit the Percona Community Forum.
To report bugs or submit feature requests, open a JIRA ticket.
For paid support and managed or consulting services , contact Percona Sales.