In all my servers i like to have a central log location. The challenge with AAPanel is that log location for various services are all over the place.
I have changed the mysql log location by add a directive in the my.cnf, however when using the Mysql Manager in AAPanel, the tabs Error Log and SlowLog where still showing the logs from old location from <hostname>.err.
Also when changing the log location for mysql, the fail2ban plugin mysql jail does not work, since the plugin is configured to get the log from <hostname>.err
I could have very well use a symlink, but i decided to fix the original code.
I have fixed all of this by modifying the source code.
I have submitted a Merge Request on Github
https://github.com/aaPanel/aaPanel/pull/235