I am currently facing an issue where my server's storage capacity suddenly becomes full due to files generated by the MySQL Binary Log. I have tried using the Log Cleanup tool provided in aaPanel. However, when the binary log files exceed 3GB in size, the Log Cleanup tool fails to delete them completely, leaving residual files behind as shown in the image below.

and the following is if I use the log cleanup application which cannot detect binary log files that have accumulated up to 16GB

Is there a solution to ensure complete cleanup of binary log files and free up HDD space more effectively, aside from using the Log Cleanup tool? Or is there a manual yet safe method to handle this?
Thanks