Add a new option to stop logging the successive OK

On a large installation, that logs million(s) of records per hour, the
"OK" logs easily accounts for more than 99 percent of all the records.
In some situations, these records can be considered useless. The new
option do_not_log_successive_ok, when set to 1, disable the recording of
"OK" logs if the previous log was already "OK".