lfex / logjam

A custom formatter for the Erlang logger application that produces human-readable output

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support lager 3.x

oubiwann opened this issue · comments

The major version change from lager 2.x to 3.x negatively impacted logjam, and logjam had to roll back to using 2.x after 3.x proved problematic (see #8). The following issues exist and need to be resolved before logjam can use 3.x:

  • the manner in which the lager app starts up has changed; logjam:start brings everything up just fine for 2.x; in 3.x, the only way we've been able to successfully startup lager has been with the erl -s lager option
  • coloring no longer seems to work
  • formatting function doesn't work as expected (maybe not at all)

I think I'm just going to close this; I don't want to put in the time and effort to support 3.x when I will never be using it. Fore more recent Erlangs (21+), I want to support the user of the new logging library.

If someone else wants to add support for lager 3.x, I won't object; we can re-open this ticket at that time :-D