<div dir="ltr"><div><div><div><div>Hi, <br><br></div>You can of course use standard unix I/O redirection:<br><br></div>   ncl myScript &gt;myscript.log<br><br></div>but this will capture all output from your script, including output from print statements. Unfortunately, ncl does not send error messages to stderr; if it did,  you could isolate only error output.<br><br></div>Rick<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 26, 2017 at 10:57 AM, Francesco Trotta <span dir="ltr">&lt;<a href="mailto:francesco.trotta4@unibo.it" target="_blank">francesco.trotta4@unibo.it</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Dear NCL,<br>
</p>
<p>   When I run my ncl scripts I get my fatal error message on a std output (i.e. on the terminal screen)<br>
</p>
<p><br>
</p>
<p>   I would like for my application to send the error message not on the std output but <span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;background-color:rgb(255,255,255)"> in a log file.</span><br>
</p>
<p>   Is there in ncl the way to do this?<br>
</p>
<p><br>
</p>
<p>Thanks<span class="HOEnZb"><font color="#888888"><br>
</font></span></p><span class="HOEnZb"><font color="#888888">
<p>Francesco<br>
</p>
</font></span></div>

<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>