echo to console in shell script in Automator, How?

Hi,

How can I see the echo and error from a shell script used in automator?

I did try
set -xv
exec 2>>/dev/console
echo myLine 1>&2

But it did not working, any idea?

Thanks

Hi, when using the above code I get

14-09-10 23:26:46 [0x0-0x403403].com.apple.Safari[3274] 2010-09-14 23:26:46.415 Automator Runner[70598:903] Cache invalidating due to mtime on /Library/Automator

What is this telling me?