error_logger, multi-file support?

Serge Aleynikov serge@REDACTED
Tue Jul 18 15:26:01 CEST 2006


You can accomplish this by installing a custom event handler to the 
error_logger event manager.  Such an event handler can do anything you 
wish.  For example you can look into the LAMA contrib in the jungerl 
that uses this technique to reformat and forward all error_logger 
reports to syslog.

Serge

Igor Goryachev wrote:
> Hello.
> 
> Is there any chance to split event logging (using error_logger(3)) into
> several files, i.e. to log some events in the first file and rest in the
> second? I have already seen log_mf_h(3), but it is not right solution
> for my kind of problems.
> 
> Thanks for the attention.




More information about the erlang-questions mailing list