lager icon indicating copy to clipboard operation
lager copied to clipboard

A logging framework for Erlang/OTP

Results 56 lager issues
Sort by recently updated
recently updated
newest added

In production,If I want to limit the error log or info log num,I must use the parameter "high_water_mark",otherwise ,the log num can not be limit. for emample,the right configuration is...

I'm using RabbitMQ and ideally, I would like to rollover but not technically rotate my logs. I've configured `log.file.rotation.date` and log.file.rotation.size` but no value of `log.file.rotation.count` achieves the desired result....

I am using lager. This is my config. There is an `erlang.log` file being created in the log folder which is essentially duplicating stuff that is in `debug.log`. Could you...

We should really get this finished so let's try to figure out what's missing.

** exception throw: {error, {cannot_start_application,lager, {bad_return, {{lager_app,start,[normal,[]]}, {'EXIT', {{badarg,#Ref}, [{erl_syntax,abstract,1, [{file,"erl_syntax.erl"},{line,7225}]}, {glc_code,'-abstract_tables/1-lc$^0/1-0-',1, [{file,"src/goldrush/glc_code.erl"},{line,109}]}, {glc_code,abstract_module_,2, [{file,"src/goldrush/glc_code.erl"},{line,80}]}, {glc_code,abstract_module,2, [{file,"src/goldrush/glc_code.erl"},{line,39}]}, {glc_code,compile,2, [{file,"src/goldrush/glc_code.erl"},{line,29}]}, {glc,compile,2, [{file,"src/layer/goldrush/glc.erl"},{line,165}]}, {lager_util,trace_filter,2, [{file,"src/layer/lager_util.erl"},{line,340}]}, {lager_app,boot,1, [{file,"src/layer/lager_app.erl"}, {line,257}]}]}}}}}}

This is similar approach that Elixir's logger take some time ago, where Lager messages still will be handled by the Lager only, but it will also get messages from the...

try throw("测试") catch Class:Reason -> lager:info("get_stacktrace:~n~tp", [lager:pr_stacktrace(erlang:get_stacktrace(), {Class, Reason})]) end. In our system, the exception will throw with some Chinese word sometimes. If that happen, it will print like this:...

I can see there is a branch [adt/lager_use_logger-option](https://github.com/erlang-lager/lager/tree/adt/lager_use_logger-option), which as far as I understand helps to integrate Erlang's built in logger with lagger. Are there any chances to get this...

After changes in 8d7eecda49d13b87a28efd5fb7f77185be263515 if **count** is set to 0 the log file can never be opened again. The reason for this is that inode of the original file is...