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

Max Lapshin <>
Sun Apr 4 17:34:23 CEST 2010

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.

More information about the erlang-questions mailing list