error_logger, multi-file support?

Igor Goryachev <>
Tue Jul 18 16:30:57 CEST 2006


Serge Aleynikov <> writes:

>> 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.
>
> 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.

Thank you very much.


-- 
Igor Goryachev
Yandex development team.



More information about the erlang-questions mailing list