Sort Wordpress error & notification messages in debug.log by most frequent first.
- Create a folder called
files
in the root folder. This holds the read/write files. - Download your
debug.log
from the server and move it to thefiles
folder. - Run from root directory with
python prioritise-logs.py
- The output file is created automatically:
output<x>.csv
, where<x>
is an incremented integer. - You can import the CSV to Google sheets or whatever.