Allow configuring log_on_* operator

The default operator for log_on_success and log_on_failure settings is
+=, which means that you cannot reduce the amount of logging.  This
change allows specifying arbitrary operators but does not change the
default.