John R. Daily
30fbfbfd62
Typos, extra formatting, rework the semi-iolist description
11 vuotta sitten
Andrew Thompson
399db5e386
Merge pull request #246 from lrascao/doc/add_per_module_per_function_example
add per-module per-function trace example
10 vuotta sitten
Andrew Thompson
2d3ed2e722
Merge pull request #251 from Vagabond/fix/make_trace_stop_trace_api_consistent_cleanup
Fix/make trace stop trace api consistent cleanup
10 vuotta sitten
Jon Meredith
b7984d4628
Merge pull request #241 from stolen/log_root
Add optional log_root environment variable
10 vuotta sitten
Andrew Thompson
95f5a133af
Fix #163 - start the file backend if it isn't running but a trace uses it
10 vuotta sitten
Andrew Thompson
b0a5d08227
Fix trace_file to return the new trace return type
10 vuotta sitten
Andrew Thompson
c2b75f0674
Make start_trace return a term that stop_trace/1 can consume
10 vuotta sitten
Jon Meredith
a89e420224
Merge pull request #233 from dvaergiller/color_atom
Mention the color atom for the formatter config
10 vuotta sitten
Jon Meredith
5295fa281d
Merge pull request #227 from derek121/readme-file-config
Fix specification of backend config in log rotation example
10 vuotta sitten
Bishop Bors
022077b1da
Merge pull request #250 from evanmcc/stop-start-suppression
add application stop/start suppression for ct logs
Reviewed-by: seancribbs
10 vuotta sitten
Evan Vigil-McClanahan
df3cf16345
add application stop/start suppression for ct logs
in common test, starting and stopping applications can make your logs
very noisy. the patch allows these messages to be suppressed on the
happy path, and raises the high water mark during ct tests so that
messages aren't dropped.
10 vuotta sitten
Luis Rascao
9d0bfda1d5
make trace and stop_trace take the same arguments
10 vuotta sitten
Luis Rascao
474516c95d
add per-module per-function trace example
10 vuotta sitten
Jon Meredith
e88c9160ae
Merge pull request #244 from joedevivo/master
needs log level explicitly set
10 vuotta sitten
Joe DeVivo
109aa6b605
needs log level explicitly set
10 vuotta sitten
Danil Zagoskin
e0a7d02815
mention log_root variable in README.md
10 vuotta sitten
Danil Zagoskin
78d80bdddd
implement log_dir option handling
10 vuotta sitten
Bishop Bors
4bb4634804
Merge pull request #240 from joedevivo/master
removed other handlers for common test bounces
Reviewed-by: seancribbs
10 vuotta sitten
Joe DeVivo
dd792c8e0c
removed other handlers for common test bounces
10 vuotta sitten
Jon Meredith
2ced8a69cf
Merge pull request #236 from fishcakez/maps
Add maps support
10 vuotta sitten
Jon Meredith
1487f4f80b
Merge pull request #237 from fishcakez/ct_backend_dialyzer
Fix ct backend dialyzer warnings
10 vuotta sitten
James Fish
cd76e0fff0
Update tools.mk
10 vuotta sitten
James Fish
8685853c91
Add maps formatting
Note that compiling on OTP 17.0, or later, will produce beam files
(specifically lager_trunc_io) that are incompatible with R16B03-1, or
earlier, due to erlang:is_map/1 using a new beam opcode (156). However
if compiled on R16B03-1, or earlier, will produce beams files that are
compatible with 17.0, and later, and maps will be formatted where
supported by the active OTP release.
10 vuotta sitten
James Fish
d051396112
Fix ct backend dialyzer warnings
* Fix unmatched return
* Fix set_loglevel call to store mask in state
* Add common_test to plt for ct:pal spec
10 vuotta sitten
James Fish
2ce67d5d53
Fix line numbers detection in tests for OTP >= 17
10 vuotta sitten
Mattias Jansson
f433da014b
Mention the color atom for the formatter config
10 vuotta sitten
Derek Brown
9ec3499e9b
Fix specification of backend config in log rotation example
The example in "Internal log rotation" includes the tuple
{name, "error.log"}
This apparently should be
{file, "error.log"}
as seen in other config examples in README.md.
10 vuotta sitten
Jared Morrow
dd267603e9
Merge pull request #224 from joedevivo/master
lager_common_test_backend
10 vuotta sitten
Joe DeVivo
d29d6c7062
cleaned up lager_common_test_backend:bounce for log level
10 vuotta sitten
Joe DeVivo
28239b887e
Removed 1.X support
10 vuotta sitten
Joe DeVivo
d7f60e2c72
@doc for lager_common_test_backend
10 vuotta sitten
Joe DeVivo
1b8acdb05b
lager_backend for use with common_test
10 vuotta sitten
Andrew Thompson
4d8291edb7
Merge pull request #216 from fogfish/master
fix issue #215 : lager.app env overwrites default handlers
11 vuotta sitten
Dmitry Kolesnikov
b3f3f68976
fix issue #215 : lager.app env overwrites default handlers
the default handlers defined at lager.app overwrites handlers defined previously by application:set_env(lager, handlers, ...) if lager application is started application:start(lager)
11 vuotta sitten
Andrew Thompson
63c2ad6ba3
Merge pull request #210 from egobrain/patch-1
Fixed typo in README.md
11 vuotta sitten
egobrain
5e38f33b9f
Fixed typo in README.md
Fixed forgotten commas.
11 vuotta sitten
Andrew Thompson
1613842357
Fix eunit test
11 vuotta sitten
Andrew Thompson
36466ef78c
Merge pull request #166 from srstrong/master
Added options parameter to lager:trace_file
11 vuotta sitten
Andrew Thompson
73f0806a0d
Merge pull request #209 from jlouis/fix-17
Fix compile on Release 17 the right way.
11 vuotta sitten
Jesper Louis Andersen
1987ca32f5
Fix compile on Release 17 the right way.
Change a latin1 sequence so it is given as a list of integers. this avoids the problem entirely
since ASCII has the same representation in both latin1 and in utf-8
11 vuotta sitten
Andrew Thompson
e118ae7a71
Merge pull request #205 from pooya/master
Use a binary rebar compiled with an older version of Erlang.
11 vuotta sitten
Shayan Pooya
b31c47c61a
Use a binary rebar compiled with an older version of Erlang.
It has been compiled with R13B03 and resolves issue #183 .
11 vuotta sitten
Andrew Thompson
b6b6cebcb2
Roll version 2.0.3
11 vuotta sitten
Andrew Thompson
0e2ed22292
Merge pull request #202 from basho/adt-buildbot-fixes
Make tests pass on buildbot more of the time
11 vuotta sitten
Andrew Thompson
46785b6541
Merge pull request #204 from roowe/disable_pp_records
support disable pretty printing records encountered at compile time
11 vuotta sitten
Roowe
f797f99218
support disable pretty printing records encountered at compile time
11 vuotta sitten
Andrew Thompson
da4419e23e
Merge pull request #201 from yfyf/flush_only_events
Only discard gen_event notifications on high watermark
11 vuotta sitten
Andrew Thompson
752733b093
Make tests pass on buildbot more of the time
11 vuotta sitten
Ignas Vyšniauskas
b07d6b5255
Only discard gen_event notifications on high watermark
Previously all messages were being flushed, which meant that trapped exits
and internal gen_event messaging was also flushed, leading to undefined
behaviour.
closes #198
11 vuotta sitten
Andrew Thompson
85c2c2f824
Merge pull request #200 from yfyf/fix_tests
Fix: correct lager startup in crash_log test
11 vuotta sitten