2 Replies Latest reply on Jul 11, 2006 3:48 PM by Olivier KARREMAN

    Question regarding logging in NSH scripts.

      Within a NSH script, if you want some info to show up in the Job log with the blue bubble you just have to echo you message to STDOUT... if you want it to show up in the Job log with the red cross, then you would echo your message to STDERR. Right, but what about the yellow triangle with an exclamation mark ?

       

      So the puzzle would be "replace the question marks with the mysterious missing statement"

       

      #! /bin/nsh

       

      echo "INFO message" >&1

      echo "ERROR message" >&2

      echo "WARNING message" ????