John R. Daily
4f94260239
Revert decision to throw a {sink, Sink} tuple at every backend; instead, special case the throttle
il y a 10 ans
John R. Daily
daf3fdeb02
Move the extra sink argument down a layer so that reinstalls work properly
il y a 10 ans
John R. Daily
a462c046fe
Various bugfixes of various levels of desperation
il y a 10 ans
John R. Daily
ba5548e057
update_loglevel_config now takes a sink argument
il y a 10 ans
John R. Daily
db697bc720
Revert last change: we are not (yet) allowing backends to watch multiple sinks
il y a 10 ans
John R. Daily
6f6b0110f2
Starting down the path of making backends handle multiple sinks (primary use case is tracing)
il y a 10 ans
John R. Daily
2d33a13415
Clarify that "event" in this module is what we are now calling a "sink"
il y a 10 ans
Andrew Thompson
752733b093
Make tests pass on buildbot more of the time
il y a 11 ans
Andrew Thompson
faf3096d99
Fix dialyzer warnings and make all the records typed
il y a 11 ans
Pedram Nimreezi
be6a315e59
Fix lager eunit initialization
il y a 11 ans
Andrew Thompson
ccdc4d4c8f
Rework the 'old shell' warning, and some related work
Add ability for handlers to 'fatally' fail, so they won't attempt to
reinstall themselves later.
Also fix an issue with the INT_LOG macro not doing the right thing when
only the lager_throttle_backend was installed.
il y a 12 ans
Ewan Mellor
df90ea05cf
Add an update to the global loglevel when a new handler is installed.
This fixes a bug where messages were incorrectly discarded if the new
handler is using log levels that are different from those in use by handlers
that were set up at start-of-day.
il y a 12 ans
Andrew Thompson
a192bd9e91
Replace mochiglobal with a public ETS table
This also removes the dependency on the syntax_tools and compiler
applications, which interfered with lager's startup/shutdown order.
il y a 12 ans
Andrew Thompson
12a784b18e
Time makes fools of us all
il y a 12 ans
Jason Wagner
0415d21669
Changed the messages sent to the backends to include metadata and separated formatting from the backend. Added documentation, fixed tests, and removed some unused code.
il y a 13 ans
Andrew Thompson
efc7b7591b
Changes suggested by Kostis, Dialyzer -Wunmatched_returns and Tidier
il y a 13 ans
Andrew Thompson
caad1f8c83
Fix eunit tests to "start" compiler and syntax_tools
This is just silly busy-work since they're library applications, but
whatever.
il y a 13 ans
Andrew Thompson
3311702a6d
Add builtin chomping to lager_format
il y a 13 ans
Scott Lystig Fritchie
042e210a9d
Remove application:unload() calls from test code
il y a 13 ans
Andrew Thompson
d828c35f12
Fixup the tests after merging in the rotation code
il y a 13 ans
Andrew Thompson
cde3eecf1a
Tests for the gen_event handler watcher
il y a 13 ans
Andrew Thompson
5c11c70a31
Add simple size based log rotation
il y a 13 ans
Andrew Thompson
c48c625894
Minor changes requested
il y a 14 ans
Andrew Thompson
862a9cb46c
Documentation!
il y a 14 ans
Andrew Thompson
a6cbc19712
Rework supervisor tree to be more sane
il y a 14 ans