Move protection log parameters to log_params. Solves bug 12234 and is better for...