Make mirrored queue logging configurable.
Merge bug26042