Logging in distributed OTP applications

Fri Jan 29 17:29:24 CET 2010

no answer?

On Jan 26, 10:35 am, ZZZZZZZZZZZZZZZZ <zvi....@REDACTED> wrote:
> Hi,
> I have two OTP applications: "master" and "worker",
> both depend on log4erl in their .app files.
> SIngle "master" application and multiple "worker" applications running
> on different hosts/Erlang nodes.
> I was able to configure each one to write to it's own log file, but I
> need all instances of OTP applications to write to single log file.
> Can this be done with log4erl ?
> Can standard Erlang logging be used here, i.e. SASL?
> Any other logging packages / solutions?
> The simplest idea is two create globally registered logger gen_server
> in the "master" application/node and let all others to use
> gen_server:cast to send messages to log. But  cast seems to be not
> guaranteed, while gen_server:call will introduce delays in the
> applications.
> Any ideas?
> thanks in advance.
> Zvi
> ________________________________________________________________
> erlang-questions mailing list. Seehttp://www.erlang.org/faq.html
> erlang-questions (at) erlang.org

More information about the erlang-questions mailing list