Andrew Thompson
f85ea9eb88
Add note on syslog backend
преди 13 години
Andrew Thompson
3110039738
Merge branch 'adt-improve-test-coverage'
преди 13 години
Andrew Thompson
95f87e5d8b
Remove unecessary and pointless call to lists:flatten
преди 13 години
Andrew Thompson
0cbc95b810
Merge pull request #7 from muxspace/master
Fixed syntax error w.r.t. configuration example
преди 13 години
Andrew Thompson
19f2339458
Make console backend more robust against bad configuration
преди 13 години
Andrew Thompson
cc371c9683
Test also calls compile
преди 13 години
Andrew Thompson
d828c35f12
Fixup the tests after merging in the rotation code
преди 13 години
Scott Lystig Fritchie
4872b82885
Move EUnit sleep & sync stuff to new custom_sleep() func
преди 13 години
Andrew Thompson
116ee8d890
Try to preserve internal log messages generated before lager boots
If backends have a failure or something, don't discard the messages,
wait half a second and then try sending them again.
преди 13 години
Andrew Thompson
03d3fa1a95
Fixes and tests for deep-list handling in trunc_io:format
This solves an issue reported by 'cloudhead' in IRC where deep lists
weren't being flattened when printed with format specifiers like ~s ~p
and ~P, all of which should flatten the list.
преди 13 години
Andrew Thompson
cde3eecf1a
Tests for the gen_event handler watcher
преди 13 години
Andrew Thompson
bf5861a548
Tests for the crash log
преди 13 години
Andrew Thompson
bff8eb1162
Console backend tests
преди 13 години
Andrew Thompson
3fe861c348
Lots of tests for the file backend
преди 13 години
Andrew Thompson
bc668852d1
Merge pull request #1 from basho/adt-add-simple-rotation
Adt add simple rotation
преди 13 години
Andrew Thompson
55e0cc1f5a
schedule_rotation returns undefined when no rotation scheduled
преди 13 години
Andrew Thompson
052b639c0c
Wrap to 80 columns
IBM punchcards rejoice! Basho supports your right to continue to affect
how we format source code :)
преди 13 години
Andrew Thompson
874b76982b
Simple test for logfile rotation
преди 13 години
Andrew Thompson
b2d9d06abd
Cleanup logfile option validation, as suggested by @jtuple
преди 13 години
Andrew Thompson
7d8c104bfc
Update app.src file with time based rotation config
преди 13 години
Andrew Thompson
81d4aea7d8
Finish implementing time based log rotation
преди 13 години
Andrew Thompson
dc15d9272e
Initial work on time based rotation
Adding date spec parsing and calculation of when a spec indicates a file
next needs to be rotated.
преди 13 години
Andrew Thompson
6eb8240f1a
Crash log rotation & documentation on rotation
преди 13 години
Andrew Thompson
5c11c70a31
Add simple size based log rotation
преди 13 години
Brian Rowe
5554103f18
Fixed syntax error in config example
преди 13 години
Scott Lystig Fritchie
4148670b18
Fix sporadic EUnit test failures: try to sync via gen_event:which_handlers(), increase some sleep times
преди 13 години
Andrew Thompson
5fe8f7c2ad
Pids are sometimes not pids, print them more safely
преди 13 години
Andrew Thompson
a761cd43c1
Merge branch 'az558-lager-console-improvements'
преди 13 години
Andrew Thompson
11366b355c
Wrap an obscenely long line
преди 13 години
Andrew Thompson
40b0e2d484
Record milliseconds with timestamps, make console less verbose by default
az558
преди 13 години
Andrew Thompson
fbb0fda5d3
Default crash log entries to be a maxmimum of 64k
преди 13 години
Andrew Thompson
0d3e45a39e
Plug some large error_logger message holes with trunc_io
преди 13 години
Andrew Thompson
d0338f11a8
Use format_reason in supervisor child exit messages, too
преди 13 години
Andrew Thompson
157d676562
Handle ETS table count system limit
преди 13 години
Andrew Thompson
bfbeb94baf
Remove possible conflict with mochiglobal. Closes #2
преди 13 години
Andrew Thompson
f45f9c915a
Typo in config example
преди 13 години
Andrew Thompson
4d7e25de91
Make the version 0.9.0
преди 13 години
Andrew Thompson
dfa91d8b38
Add a function for printing POSIX error codes as messages
преди 13 години
Andrew Thompson
56e438b839
Add a TODO
преди 13 години
Andrew Thompson
d72f7090ca
Add a gitignore file
преди 13 години
Andrew Thompson
ec61e88d8a
Make the dialyzer happy.
преди 13 години
Andrew Thompson
077f218cd9
Make logging not crash when lager is not running
преди 13 години
Andrew Thompson
0a9c20367d
Merge branch 'master' of github.com:basho/lager
преди 14 години
Andrew Thompson
db725a90ba
Add support for parameterized modules to the parse transform
преди 14 години
Andrew Thompson
0431806780
Prettier indenting in app file
преди 14 години
Andrew Thompson
de21911a9d
Typo
преди 14 години
Andrew Thompson
675006ec86
Make tests quiet
преди 14 години
Andrew Thompson
474bfc9e36
Fix failing test
преди 14 години
Andrew Thompson
734b8af161
Remove more unused things from the Makefile
преди 14 години
Andrew Thompson
9cbb72c3ca
Cleanup some commented out code
преди 14 години