Add a big switch to turn off registry logging

As requested.