Don’t do this at home

image (1)

Don’t just hook on the all filter for the purpose of just error_loging $wp_filter. You’ll end up with a 2GB useless debug.log