[ncl-talk] how redirect fatal error message on a log file?
Rick Brownrigg
brownrig at ucar.edu
Wed Jul 26 14:56:39 MDT 2017
Hi,
You can of course use standard unix I/O redirection:
ncl myScript >myscript.log
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.
Rick
On Wed, Jul 26, 2017 at 10:57 AM, Francesco Trotta <
francesco.trotta4 at unibo.it> wrote:
> Dear NCL,
>
> When I run my ncl scripts I get my fatal error message on a std output
> (i.e. on the terminal screen)
>
>
> I would like for my application to send the error message not on the
> std output but in a log file.
>
> Is there in ncl the way to do this?
>
>
> Thanks
>
> Francesco
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170726/65c168c9/attachment.html
More information about the ncl-talk
mailing list