Giovanni Bajo
f0a637a834
Document new option
2014-12-15 21:58:26 +01:00
Giovanni Bajo
a3ef049df9
Avoid extra quotes where not strictly necessary.
...
It's not necessary to enclose in quotes every single string value
in log2met format; when using basic words, it's possible to not
quote it (as heroku does for its own logging). This keeps the
logs easier on the human eye.
2014-12-15 20:20:33 +01:00
Giovanni Bajo
3e9d38f80d
Allow disabling timestamp in non-tty output.
...
This is useful if the output is already being piped to a logger
daemon that will prefix the timestamp by itself (eg: on heroku).
2014-12-15 20:02:02 +01:00
Simon Eskildsen
4266e0eb68
Merge pull request #90 from sebest/master
...
Add links to a loggly.com hook
2014-12-11 20:08:49 -05:00
Sebastien Estienne
535f69a2f4
Add links to a loggly.com hook
2014-12-11 16:01:13 -08:00
Simon Eskildsen
5f3c40cc46
Merge pull request #89 from Sirupsen/fix-logrus-double-fields
...
Fix JSON formatter prefixing old msg/time/level fields
2014-12-10 14:07:28 -05:00
Antoine Grondin
2835e150d9
fixes #88
2014-12-09 21:57:50 -05:00
Antoine Grondin
62b915c008
regression test for issue #88
2014-12-09 21:53:14 -05:00
Simon Eskildsen
0ae53775f7
Merge pull request #86 from romankonz/patch-1
...
Update README.md - changed conflicting imports
2014-12-05 06:51:43 -05:00
Roman Konz
5e322e5cfe
Update README.md - changed conflicting imports
2014-12-05 11:00:48 +01:00
Simon Eskildsen
6c28e16200
Merge pull request #85 from gigaroby/doc-fix
...
documentation fix
2014-11-27 12:42:15 -05:00
Roberto Bampi
d9706afd4a
documentation fix
2014-11-27 07:54:16 +01:00
Simon Eskildsen
cc09837bcd
Merge pull request #74 from gigaroby/sentry-hook
...
Added sentry hook
2014-11-25 12:46:20 -05:00
Roberto Bampi
5df4b882d0
timeout is now configurable and documented
2014-11-25 13:36:08 +01:00
Peter Olds
f9e0c0dd4a
Fix Papertrail bug
...
Conflicts:
hooks/papertrail/papertrail.go
2014-11-23 17:11:40 +00:00
Simon Eskildsen
1f2ba2c631
Merge pull request #84 from vincentbernat/fix/syslog
...
syslog: let syslog output lookup level directly in Entry struct
2014-11-23 12:07:01 -05:00
Vincent Bernat
c0b1ea991b
syslog: let syslog output lookup level directly in Entry struct
...
Log level has moved from `entry.Data["level"]` to `entry.Level`. Use
that to get the right level.
Fix : #82
2014-11-23 18:02:34 +01:00
Simon Eskildsen
66afa87e45
Merge pull request #79 from duglin/AddGetLevel
...
add GetLevel support
2014-11-22 21:17:51 -05:00
Simon Eskildsen
98924b0b51
readme: fix syslog example
2014-11-23 02:09:47 +00:00
Doug Davis
c64b18f688
add GetLevel support
...
Signed-off-by: Doug Davis <dug@us.ibm.com>
2014-11-12 07:44:54 -05:00
Roberto Bampi
383ab1fb69
added delivery timeout
2014-11-06 21:17:29 +01:00
Simon Eskildsen
f92b7950b3
Merge pull request #76 from meatballhat/save-entry-string-for-panic
...
Panic with entry instead of entry string
2014-11-06 11:24:30 -05:00
Dan Buch
5164671bc6
Making panic level assertions more helpful
2014-11-06 08:42:52 -05:00
Roberto Bampi
8bbc74e9fb
various fixes
2014-11-06 10:07:41 +01:00
Dan Buch
9836f1ba0e
Adding tests for PanicLevel behavior, plus changing behavior! 🙀
2014-11-05 20:39:35 -05:00
Dan Buch
f302a46d2a
Switching to io.MultiWriter for clarity
2014-11-05 14:07:40 -05:00
Dan Buch
ced531341e
Saving off entry string for use in panic
...
as the reader is not seekable and without this the panic string is
always empty 🙀
2014-11-05 13:49:58 -05:00
Roberto Bampi
0e6a27180f
added raven-go to .travis.yml
2014-11-02 19:39:51 +01:00
Roberto Bampi
4e014d4268
added tests
2014-11-02 19:31:15 +01:00
Roberto Bampi
9bf47770d5
added sentry logger
2014-11-01 19:55:40 +01:00
Simon Eskildsen
6ebb4e7b3c
Merge pull request #71 from mpuncel/mpuncel/fix-readme
...
fix bug in example in README
2014-10-27 22:31:40 +01:00
Michael Puncel
739afbfd4e
fix bug in example in README
2014-10-27 14:22:57 -07:00
Simon Eskildsen
2e36101a19
Merge pull request #70 from Sirupsen/failed-hook-errors
...
hooks: lock on the logger before printing to stderr, printf args
2014-10-23 17:05:14 +02:00
Antoine Grondin
938dffa0e0
hooks: lock on the logger before printing to stderr, printf args
2014-10-21 19:26:29 -04:00
Simon Eskildsen
3d46664b06
Merge pull request #69 from zimmski/typos
...
fix some typos
2014-10-16 09:15:30 -04:00
Markus Zimmermann
5573f97efc
fix some typos
2014-10-16 14:43:18 +02:00
Simon Eskildsen
965349de21
Merge pull request #68 from Sirupsen/errors-should-be-in-string
...
textformatter: errors should be in quotes like strings are
2014-10-03 12:39:12 -04:00
Antoine Grondin
acf1c0d583
textformatter: errors should be in quotes like strings are
2014-10-03 11:58:24 -04:00
Antoine Grondin
3737b3267e
logrus: remove test for dbg alias in ParseLevel.
2014-09-24 23:23:01 -04:00
Simon Eskildsen
45d5602d9c
logrus: remove dbg alias for ParseLevel
...
\cc @mohae
2014-09-25 03:10:06 +00:00
Simon Eskildsen
4617ccb653
Merge pull request #62 from mohae/setloglevel
...
added support for setting log level using strings: SetLogLevel()
2014-09-24 23:09:09 -04:00
Simon Eskildsen
3b5af9a6dc
entry: add comment to panic comparison in log()
2014-09-25 03:08:26 +00:00
Simon Eskildsen
51ca046ebf
Merge pull request #65 from pquerna/remove_unused_string
...
Only convert []bytes into a String() when needed for a panic
2014-09-24 23:06:38 -04:00
Simon Eskildsen
f75f3a649c
readme: fix papertrail link
...
\cc @al3x
2014-09-25 03:05:52 +00:00
Simon Eskildsen
5f97d94c1b
Merge pull request #60 from aybabtme/fix-duplicate-keys
...
fix duplication of msg/time/level keys, add benchmarks.
2014-09-24 23:01:39 -04:00
Paul Querna
f96066e3bf
Only convert []bytes into a String() when needed for a panic, and not on other log levels
2014-09-23 17:05:07 -07:00
Antoine Grondin
dc01f6d597
add regression for basic fields being incorrectly prefixed
2014-09-21 13:16:35 -04:00
Joel Scoble
4e6e671281
add ParseLevel to get Level from string
2014-09-17 20:08:23 -05:00
Antoine Grondin
c4cc714937
fix duplication of msg/time/level keys, add benchmarks.
2014-09-16 20:19:42 -04:00
Simon Eskildsen
89b6d460f0
Merge pull request #59 from aybabtme/avoid-syscalls-at-each-logentry
...
text-formatter: assume that IsTerminal doesn't change during execution
2014-09-16 17:24:56 -04:00