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

Max Lapshin max.lapshin@REDACTED
Sun Apr 4 17:34:23 CEST 2010


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.


More information about the erlang-questions mailing list