# How to redirect output with error function to log.err file?

**URL:** <https://discourse.julialang.org/t/how-to-redirect-output-with-error-function-to-log-err-file/26680>\
**Category:** General Usage\
**Tags:** question\
**Created:** [July 23, 2019, 12:39pm UTC](https://discourse.julialang.org/t/how-to-redirect-output-with-error-function-to-log-err-file/26680 "2019-07-23T12:39:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Martin\_Florek](https://avatars.discourse-cdn.com/v4/letter/m/f4b2a3/32.png) [@Martin\_Florek](https://discourse.julialang.org/u/Martin_Florek)\
**Post date:** [July 23, 2019, 12:39pm UTC](https://discourse.julialang.org/t/how-to-redirect-output-with-error-function-to-log-err-file/26680/1 "2019-07-23T12:39:43Z")

</div>

For instance:

> sqrt(-1)

p.s.: I don’t need to see it in the console. It’s App.  
Thanks
