Added logging setting for command and shell execution