I am writing a shell script which get executed after an alert. How can i see the logs of the script run? I noticed that one of my shell commands in the script failed but i am not to find any logs of it. Can somebody help?