set cache to nil when disabling log suppression so that the cache can
be garbage collected