Mark Allen
5f811f332f
Merge branch 'feature/multiple-sinks' of github.com:/basho/lager into feature/multiple-sinks
пре 10 година
Mark Allen
4da506b06b
Add check for same file across backends.
Throw {error, bad_config} if we find one during
handler startup.
пре 10 година
John R. Daily
96e3ba7095
More/fixed comments
пре 10 година
John R. Daily
066fa59a1c
The audit sink was always for experimentation. Remove it before it accidentally slips into a release
пре 10 година
John R. Daily
b0a2c4c82e
More bugfixes re: trace file handling
пре 10 година
John R. Daily
89ca81df2d
Bugfix: handler tuple order was incorrect
пре 10 година
John R. Daily
13ec782f0a
Fix the async threshold test to eliminate a race condition. It now tests something slightly different, but should be sufficient
пре 10 година
Ted Burghart
b8a8ed0b28
Merge mkurkov:fix/error-logger-backend-unicode, PR #259 , with adjustments for handling extra data.
пре 10 година
Ted Burghart
5b43a8bae4
Change how result strings are handled to accomodate additional data.
пре 10 година
John R. Daily
e08fc432a8
Fix status
пре 10 година
John R. Daily
302767ec0f
Make dialyzer happy
пре 10 година
Ted Burghart
d35f20f609
merge current work from master branch, and clean up a couple of warnings along the way
пре 10 година
Ted Burghart
96f5b5c57d
changed has_line_numbers() to recognize the new OTP release pattern.
пре 10 година
John R. Daily
d5856f2284
Add sink identification export
пре 10 година
John R. Daily
439a81c2ca
Introduce sleep to account for interval between writes necessary for rotation to work
пре 10 година
John R. Daily
9d9bf29633
Fix init (for some questionable definition of fix)
пре 10 година
John R. Daily
e070348290
Fix some legacy loglevel handling in tests
пре 10 година
John R. Daily
f37a957a0e
Support extra sink argument
пре 10 година
John R. Daily
daf3fdeb02
Move the extra sink argument down a layer so that reinstalls work properly
пре 10 година
John R. Daily
a71a7ff1a7
Do not forget to clear traces from global loglevel settings
пре 10 година
John R. Daily
a230240c58
Support new sink metadata in init
пре 10 година
MaximMinin
d66790f612
test for tracing to a dedicated file if root_log is set.
пре 10 година
Mikl Kurkov
171e9596ea
Fix error_logger backend 'Format error' on unicode in Args
пре 10 година
Mikl Kurkov
e9fba0d64c
Fix noproc test fail
пре 10 година
John R. Daily
194f4aeb94
lager maps to lager_event, so audit maps to audit_event
пре 10 година
John R. Daily
752065eb55
Read extra sinks from configuration options
пре 10 година
John R. Daily
5f27739e1e
At the lowest level of the transform, allow multiple sinks
пре 10 година
Ted Burghart
1f76822d10
Update rebar dependencies for OTP-17 development.
Add/update file copyright headers where deterministically appropriate.
Note:
Many updates to rebar.config files have been scripted to ensure
consistency and likely have re-ordered configuration settings and options.
While the file may look significantly different, the content other than
dependency updates (and, in some cases, more stringent compilation options)
should be the same from rebar's perspective.
пре 10 година
MaximMinin
b7da929f69
trace_file don't work, if env "log_root" is set.
пре 10 година
John R. Daily
5c1a0795cf
Need dat get_loglevels/4
пре 10 година
John R. Daily
087e931004
error_logger was always its own sink - return to that behavior
пре 10 година
John R. Daily
4343bc776d
Cannot use basho_bench without a parse transform; I hope this minimal change will do it
пре 10 година
John R. Daily
1b14a42b5b
Follow-on to previous fix
пре 10 година
John R. Daily
3ae2ca020c
Mixed up application:get_env with proplists behavior
пре 10 година
John R. Daily
a42eda8c96
Misunderstood the inbound Module term. Should probably have specs and/or a different name. Actually represents the unique ID we want, e.g. {lager_file_handler, "foo.log"}
пре 10 година
John R. Daily
67565b4444
Need 2ary get_loglevel (shame it is broken tho)
пре 10 година
John R. Daily
564bf98248
Do not lose existing handlers
пре 10 година
John R. Daily
5f3f0fee6c
Match the correct tuple. Return an {ok, _} tuple so the next case statement does not get confused
пре 10 година
John R. Daily
fb72c10ff0
Including the config in the handler ID only confuses our ability to detect matches from the handlers list
пре 10 година
John R. Daily
347c9c53b4
Lager STARTS
пре 10 година
John R. Daily
52c753c4f8
More bugfixes
пре 10 година
John R. Daily
a462c046fe
Various bugfixes of various levels of desperation
пре 10 година
John R. Daily
8fae61af12
More config tweaks
пре 10 година
John R. Daily
612dd4e65a
Finish fixing get/set. Got out of the habit of compiling before committing, oops
пре 10 година
John R. Daily
2926dd51a1
get/2 was confusing: Sink, Key or Key, Default. Clean up by forcing into {Sink, Key} tuple
пре 10 година
John R. Daily
ba5548e057
update_loglevel_config now takes a sink argument
пре 10 година
John R. Daily
b724b6bd42
Monads...still do not know what they are but I know I need em
пре 10 година
John R. Daily
b88e95ea42
macro ftw
пре 10 година
John R. Daily
efd3164248
Stupid compiler errors
пре 10 година
John R. Daily
21fd439a6f
Stupid compiler errors
пре 10 година