Restrict loggin to errors only