[erlang-questions] [ANN] Lager 2.0.0RC2

46 views
Skip to first unread message

Andrew Thompson

unread,
Apr 19, 2013, 6:18:26 PM4/19/13
to riak-...@lists.basho.com, erlang-q...@erlang.org
So, I announced lager 2.0.0rc1 during my Erlang factory talk
( http://www.youtube.com/watch?v=8BNpOHFvg_Q ), but forgot to announce
it to the relevant mailing lists. So I'm announcing RC2 here.

What is lager?

Lager (as in the beer) is a logging framework for Erlang. Its purpose is
to provide a more traditional way to perform logging in an erlang
application that plays nicely with traditional UNIX logging tools like
logrotate and syslog.

https://github.com/basho/lager

Changes since lager 1.2.2:

* Metadata is passed to lager backends (breaks compatability with old
* backends)
* Switch from Mochiglobal to ETS for global 'config' storage
* Add 'application' to default trace metadata, captured at compile time
* Support for 'pretty printing' Cowboy (0.8+) and WebMachine errors
* Record pretty printing with lager:pr/2
* Colored console support (requires R16, thanks DeadZen)
* Overload protection from error_logger storms
* Many performance improvements (often more than 2x as fast)
* Many minor bug fixes

Changes since lager 2.0.0rc1

* Support for logging unicode to files
* New tracing engine, based on goldrush (thanks DeadZen)
* Updated documentation for 2.0

Please give it a try, and let me know if you have any problems. Lager
2.0.0 final will ship with Riak 1.4.

Andrew
_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

Loïc Hoguin

unread,
Apr 19, 2013, 6:56:10 PM4/19/13
to riak-...@lists.basho.com, erlang-q...@erlang.org
On 04/20/2013 12:18 AM, Andrew Thompson wrote:
> So, I announced lager 2.0.0rc1 during my Erlang factory talk
> ( http://www.youtube.com/watch?v=8BNpOHFvg_Q ), but forgot to announce
> it to the relevant mailing lists. So I'm announcing RC2 here.

Congratulations!

> * New tracing engine, based on goldrush (thanks DeadZen)

Glad to see this being made useful. The initial goldrush work was made
by someone that I'm sure we all miss.

--
Loïc Hoguin
Erlang Cowboy
Nine Nines
http://ninenines.eu

Max Lapshin

unread,
Apr 19, 2013, 11:23:15 PM4/19/13
to Loïc Hoguin, riak-...@lists.basho.com, Erlang-Questions Questions
Thanks!

I had severe problems with tracing separate tag into file, will update and file an issues if it remains.

Reply all
Reply to author
Forward
0 new messages