added DisableKey method to turn off logging to a key