[erlang-questions] Restrict logging to stdio.

Brian Troutwine goofyheadedpunk@REDACTED
Sat Oct 18 00:50:01 CEST 2008


Hello all,

I'd like to not allow any sort of logging output to the erlang shell,
which is to say I would like no reports of any sort (error or
otherwise) sent to stdio. Here's the config I thought would do the
trick:

[{sasl, [{sasl_error_logger, false},
         {error_logger_mf_dir,"/home/olorin/logs"},
         {error_logger_mf_maxbytes,10485760}, % 10 MB
         {error_logger_mf_maxfiles, 2}]
}].

On further inspection, it only restricts supervisor, crash and
progress reports. How can I configure sasl to log only to files for
all report types?

-- 
Brian



More information about the erlang-questions mailing list