log4erl as system logger

Steve Davis steven.charles.davis@REDACTED
Sat Jun 5 02:18:02 CEST 2010


Similar but different --- this was my solution to the logging issue
(though not log4erl based). It replaces the default error_logger but
allows it to swap back on termination. I also needed multiple log
files/log levels and a "default" log. The key parts are in the
start_link and handle_info for 'EXIT'.

http://github.com/komone/ewok/blob/master/src/ewok_logging_srv.erl

There could be some inspiration buried in it for the issue at hand.

regs,
/s


More information about the erlang-questions mailing list