|
|
| Author |
Message |
|
| ngocdaothanh |
Posted: Tue Sep 08, 2009 2:56 am |
|
|
|
User
Joined: 06 Dec 2008
Posts: 43
|
Hi,
As far as I know error_logger is the only "standard" log library of
Erlang/OTP. Is there a way to specify log level (debug, info, warn,
error, fatal) and log destination (console, file) of error_logger?
I'm using log4erl which has these features. I'm curious if
error_logger has these.
Thanks.
________________________________________________________________
erlang-questions mailing list. See http://www.erlang.org/faq.html
erlang-questions (at) erlang.org
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Tue Sep 08, 2009 8:37 am |
|
|
|
Guest
|
On Tue, Sep 8, 2009 at 3:53 AM, Ngoc Dao <ngocdaothanh@gmail.com> wrote:
> As far as I know error_logger is the only "standard" log library of
> Erlang/OTP. Is there a way to specify log level (debug, info, warn,
> error, fatal) and log destination (console, file) of error_logger?
>
> I'm using log4erl which has these features. I'm curious if
> error_logger has these.
>
In the standard distro there are two error loggers available. One plain text
one that you can configure using some sys.config file settings (see the
kernel doc page, http://www.erlang.org/doc/man/kernel_app.html); but it
justs bangs everything into the one big log. Then there's the error logger
that gets installed when you start SASL (see the sasl doc page,
http://www.erlang.org/doc/man/sasl_app.html). That one allows you to specify
a rolling log, for example. And the report browser (rb) allows you to view
log entries at specific levels.
I am using the sasl error logging and am reasonably happy with it at the
moment. But I do get the slight impression that these error loggers are
there as a base to build upon.
There's also a module disk_log, that looks like it would be a good fit for
implementing your own more tailored file logging. Logging comes up once in a
while in the mailing list, so a search through the archives can probably be
very enlightening.
Robby
Post received from mailinglist |
|
|
| Back to top |
|
| wuji |
Posted: Sat Aug 18, 2012 8:12 am |
|
|
|
User
Joined: 10 Aug 2012
Posts: 654
|
incoln residents," the city's mayor said in a statement.Among those those red bottom shoes those present at the vigil were members of Lincoln's gay
*beep* community."Someone hurt someone in my family – my LGBT LGBT [h1]cheap Ralph Lauren Polo[/h1] LGBT family," one person told ABC's KLKN.Some residents fear this
be a setback for the local gay and *beep* community, community, cheap Ralph Lauren Polo community, one that that only two months prior saw local
approve a measure that would ensure fair treatment of gay gay cheap designer *beep* gay and transgendered residents in housing and job applications."Another reason
difficult to come out in Lincoln," wrote one commenter on on [h1]discount designer *beep*[/h1] on Outlinc's Facebook page, a local non-profit organization that supports
community's LGBT community."Many in our community are understandably experiencing a a Christian Louboutin Outlet a great deal of sadness, anger, and confusion," said Tyler
President of Outlinc, in a statement on the organization's homepage.Jeffrey homepage.Jeffrey [h2]cheap replica *beep*[/h2] homepage.Jeffrey Stern Murder-For-Hire Charges Dropped Murder Charges Against Houston Attorney
Stern Have Been DroppedBy KEVIN DOLAKJuly 24, 2012 Charges Charges cheap designer *beep* Charges of soliciting murder have been dropped against prominent Houston |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|