allows logging shell commands with log_shell