Fixing logging issue in the shell command provider.