[erlang-questions] Redirect all output (io:format) to file or remote shell

Dale Harvey <>
Sun Apr 4 18:27:45 CEST 2010


I would checkout run_erl for redirecting stdio to named pipes

http://stackoverflow.com/questions/2531150/how-to-receive-stdio-and-error-logger-messages-on-a-remote-shell

On 4 April 2010 16:34, Max Lapshin <> wrote:

> On Sun, Apr 4, 2010 at 7:30 PM, Peter Lemenkov <> wrote:
> > Hello!
> >
> > 2010/4/4 Max Lapshin <>:
> >
> >> Now I'm interested if it is possible to save somehow io:format output
> >> into file?
> >
> > I advise you to write your own error_logger module for that purpose
> > (event journaling). I, personally, would rather send all messages
> > through syslog (and adjust syslog daemon according to your needs).
> >
>
> I want not to use error_logger, but to redirect all debug output
> (?D(..)) to somewhere.
>
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:
>
>


More information about the erlang-questions mailing list