Added in a logger to the disableextension.