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

Dale Harvey dale@REDACTED
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 <max.lapshin@REDACTED> wrote:

> On Sun, Apr 4, 2010 at 7:30 PM, Peter Lemenkov <lemenkov@REDACTED> wrote:
> > Hello!
> >
> > 2010/4/4 Max Lapshin <max.lapshin@REDACTED>:
> >
> >> 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:erlang-questions-unsubscribe@REDACTED
>
>


More information about the erlang-questions mailing list