I have MariaDB 10.6.5 server with several databases. I added a line innodb_print_all_deadlocks = 1 to config file. Now all deadlocks are logged to one file /var/log/mysql/mariadb.err Is there any way to split deadlocks to separate files for each database? I need to split the log file to make a report for programer on which DB was deadlock and which tables.
Maybe there is a tool that could help me generate a report on which database occur dedadlock and which tables