Andrew Thompson
ed7bc9a8a8
Add pid to the list of attributes automatically captured for tracing
hace 13 años
Andrew Thompson
c619263486
Cleanup unused handlers when a trace is removed, documentation
hace 13 años
Andrew Thompson
96e9f6eaae
Add a function for removing an active trace
hace 13 años
Andrew Thompson
bd9b66afbb
Don't allow a trace to be installed twice
hace 13 años
Andrew Thompson
0e70e68841
Add documentation & function to clear all traces
hace 13 años
Andrew Thompson
e3e8c80a04
Fix loglevel changes for files, now they've been refactored
hace 13 años
Andrew Thompson
ac8fb192b1
Implement console tracing, don't generate duplicate messages
hace 13 años
Andrew Thompson
d28e7c5f19
Initial attempt at a trace API, and a status() command
hace 13 años
Andrew Thompson
23cbc21964
Implement tracing for the file backend, with tests
hace 13 años
Andrew Thompson
39ef6e4a5c
Re-factor the file backend so it starts one gen_event handler per file
hace 13 años
Andrew Thompson
121c4c5241
Initial implementation of 'tracing'
hace 13 años
Jared Morrow
f435790657
Roll version 0.9.4
hace 13 años
Andrew Thompson
2b6027dc86
Merge pull request #22 from basho/adt-fix-crash-report-process-names
Fix how the name/pid of the process is printed in crash reports
hace 13 años
Andrew Thompson
de5d84e349
Fix how the name/pid of the process is printed in crash reports
Before this fix, the code assumed that processes without a registered
name omitted the {registered_name, X} tuple in the crash report. In
actual fact, process_info/2 returns [] when the process has no
registered name, so unregistered processes were being printed with a
"name" of "[]". This corrects the code to print the Pid in this case
instead.
hace 13 años
Jared Morrow
1d7b6903d5
Roll version 0.9.3
hace 13 años
Andrew Thompson
2fd7945f47
Merge pull request #16 from basho/adt-simple_one_for_one-crash-report
Use mfargs instead of name attribute as the way to detect supervisor_bridge
hace 13 años
Andrew Thompson
8591d1f154
Merge pull request #21 from basho/adt-fix-github-issue-20
Fix issue #20
hace 13 años
Andrew Thompson
5140cb3449
Don't convert \r, etc to spaces, don't assume printablility by first char
hace 13 años
Jared Morrow
8427d06cb7
Roll version 0.9.2
hace 13 años
Andrew Thompson
5270d36b44
Merge pull request #19 from basho/adt-test-less-dependant-on-timer
Make the tests less dependant on timer:sleep()
hace 13 años
Andrew Thompson
b61718ff80
Make the call to the crash log synchronous only when testing
hace 13 años
Andrew Thompson
4dfee06cd9
Make tests less dependant on timer:sleeps to function correctly
hace 13 años
Jared Morrow
80f5ffbe04
Version roll 0.9.1
hace 13 años
Jared Morrow
7bccda5697
Update rebar version: 2 date: 20110907_012454 vcs: git 1cb1ae2
hace 13 años
Andrew Thompson
8d5e5db9f1
Merge pull request #18 from basho/djr-set_loglevel-typo
Fix typo in README
hace 13 años
Daniel Reverri
5793dfea75
Fix typo in README
hace 13 años
Andrew Thompson
445a546391
Merge pull request #17 from basho/adt-fix-binary-printing
Several fixes for printing binaries, improve quote stripping
hace 13 años
Andrew Thompson
7e9da648db
Several fixes for printing binaries, improve quote stripping
In string mode, "..", '..' and <<"..">> are stripped, just like with
io:format.
hace 13 años
Andrew Thompson
6fdbe25071
Use mfargs instead of name attribute as the way to detect supervisor_bridge
As Ryan pointed out, the 'name' of a supervisor's child may be
'undefined' for a simple_one_for_one supervisor.
hace 13 años
Andrew Thompson
28a5c9ecd8
Merge pull request #13 from basho/adt-fix-term-printing
Fix term printing in errors to properly show embedded lists
hace 13 años
Andrew Thompson
53d5de448c
Fix term printing in errors to properly show embedded lists
The ~w formatting used before was not printing lists embedded in other
terms. This change uses trunc_io to print those terms safely and without
potentially introducing linebreaks (like ~p would)
hace 13 años
Andrew Thompson
4cfa3ee400
Merge pull request #12 from basho/adt-fix-print-bugs
Adt fix print bugs
hace 13 años
Andrew Thompson
0cc9e25224
Remove incorrect test case
hace 13 años
Andrew Thompson
af4ea7f31d
Don't treat floats in a list as printable characters Reported by @bryanhughes
The test if an element in a list was in the printable range didn't
handle the case of a float in the list that compared to be in the
printable range.
hace 13 años
Andrew Thompson
a0440a9d60
Smarter doublequote stripping when printing strings with ~s
hace 13 años
Andrew Thompson
dadd0cf53f
Merge pull request #10 from basho/adt-better-float-printing
Use the io_lib_format:fwrite_g function to print floats
hace 13 años
Andrew Thompson
9a577df2e0
Use the io_lib_format:fwrite_g function to print floats
This is superior to float_to_list as it only prints the meaningful
digits and 1.0 isn't rendered as "1.00000000000000000000e+00".
hace 13 años
Andrew Thompson
3babca112c
Make sure atoms needing quoting are quoted.
hace 13 años
Scott Lystig Fritchie
042e210a9d
Remove application:unload() calls from test code
hace 13 años
Scott Lystig Fritchie
e13bc3d9ee
Merge branch 'slf-log-msg-truncation'
hace 13 años
Scott Lystig Fritchie
83c2a412ab
Mash in the remainder of adt-error-format-protection branch
hace 13 años
Scott Lystig Fritchie
cf51ba06d3
Rename format_string_chop() -> safe_format_chop(), add -export
hace 13 años
Scott Lystig Fritchie
eea29bece1
Rework using safe_format() from one of Andrew's branches
hace 13 años
Scott Lystig Fritchie
9a6aff40a7
Add lager:log() message size truncation
Use lager_trunc_io:format() for all messages submitted via
lager:log(). Also, refactor list flattening and final newline
stripping into shared func that uses re:replace() to do both.
hace 13 años
Andrew Thompson
f85ea9eb88
Add note on syslog backend
hace 13 años
Andrew Thompson
3110039738
Merge branch 'adt-improve-test-coverage'
hace 13 años
Andrew Thompson
95f87e5d8b
Remove unecessary and pointless call to lists:flatten
hace 13 años
Andrew Thompson
0cbc95b810
Merge pull request #7 from muxspace/master
Fixed syntax error w.r.t. configuration example
hace 13 años
Andrew Thompson
19f2339458
Make console backend more robust against bad configuration
hace 13 años
Andrew Thompson
cc371c9683
Test also calls compile
hace 13 años