Switched registry to our logging variable.