Commit Graph

250 Commits

Author SHA1 Message Date
Simon Eskildsen 5e5dc89865 travis: clean up 2017-05-15 06:59:10 -04:00
Simon Eskildsen 1ba5ca0adb Merge pull request #482 from chmllr/patch-1
Fixes typo
2017-05-15 06:27:40 -04:00
Simon Eskildsen 109740c07e Merge pull request #508 from tsarpaul/patch-2
Added SQS Hook
2017-05-15 06:27:12 -04:00
Simon Eskildsen f1444e62a8 hooks: add null logger test 2017-05-12 15:15:51 -04:00
Simon Eskildsen a9ab54b9d5 readme: add note on casing 2017-05-12 15:09:16 -04:00
Simon Eskildsen a06c2db727 hooks: add a null logger for the lower-case import 2017-05-12 14:57:36 -04:00
JodeZer 8df512bed5 fix readme example go import path 2017-05-11 18:19:16 +08:00
Simon Eskildsen 5b60b3d3ee Merge pull request #533 from urjitbhatia/master
Fix firehose hook url
2017-05-04 09:10:19 +02:00
Damien Lespiau 8aa045e295 readme: Fix md links
There were a couple of spaces between ']' and '(' causing the links to
be misrendered.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2017-05-03 17:23:41 +01:00
Urjit Singh Bhatia 012baad06c Fix firehose hook url
Firehose hook url was broken. Correct url is: https://github.com/beaubrewer/logrus_firehose
2017-05-02 10:47:34 -07:00
Paul Litvak fec838f389 Added SQS Hook 2017-03-22 22:32:29 +02:00
Simon Eskildsen 10f801ebc3 Merge pull request #498 from beaubrewer/patch-1
Update README.md
2017-03-17 10:32:14 -04:00
Simon Eskildsen f3b677a4dc Merge pull request #499 from Bo0mer/master
Fix typo
2017-03-17 10:32:04 -04:00
Simon Eskildsen 9f8e3f5df8 Merge pull request #490 from kz/patch-1
Add Discordrus, a hook for Discord, to README.md
2017-03-15 11:13:05 -04:00
Simon Eskildsen 634aa8bc0a Merge pull request #494 from esap/patch-1
add import for example
2017-03-15 11:12:54 -04:00
Ivan Borshukov f0542780a2 Fix typo 2017-03-07 18:02:20 +02:00
Beau N. Brewer add54587ab Update README.md
Added AWS Firehose hook. This provides us with a nice log steam to S3 workflow with very little effort.
2017-03-01 12:26:05 -07:00
一零村长 96acd6ab04 add import for example 2017-02-24 11:58:06 +08:00
Kelvin Zhang 9fd28e6cca Add Discordrus, a hook for Discord, to README.md 2017-02-17 14:09:07 +00:00
Mohan Raj Rajamanickam ca9493dc53 Fix quoted key field in Readme 2017-02-14 16:37:12 -08:00
Dave Clendenan 4b900796a4 Merge branch 'master' of https://github.com/sirupsen/logrus
Conflicts:
	CHANGELOG.md
2017-02-10 07:38:59 -08:00
Christian Müller 56103bcb33 Fixes typo 2017-02-10 16:30:30 +01:00
Simon Eskildsen 3f603f494d readme: add section on default fields 2017-02-07 13:34:08 -05:00
Simon Eskildsen ac38cb37a8 readme: fix markdown code syntax for stdlib example 2017-02-07 06:40:37 -05:00
Simon Eskildsen 080ca65fb5 readme: add section on overriding stdlib logger 2017-02-06 19:56:22 -05:00
Simon Eskildsen feda23452a readme: link to colorable for windows coloring 2017-02-06 19:51:07 -05:00
Simon Eskildsen b9def5b3c3 readme: even more hooks 2017-02-06 19:44:51 -05:00
Simon Eskildsen e2fcfb2fba readme: add some entries from stale PRs 2017-02-06 19:40:31 -05:00
Simon Eskildsen 141e6dc6a6 readme: update with example of logging to file 2017-02-06 19:23:53 -05:00
Dave Clendenan bc6d984670 add caller logic to DisableTimestamp case 2017-02-03 15:08:53 -08:00
Dave Clendenan 41d9b87f18 Merge branch 'master' of https://github.com/sirupsen/logrus
Conflicts:
	text_formatter.go
2017-02-03 14:56:03 -08:00
Tony Lee 1f59c9ad12 Add DisableLevelTruncation description to README 2017-01-24 23:05:25 +11:00
Stephen Day d4158e8bbd Merge pull request #452 from cjellick/readme-update
Update readme example for switching  output
2017-01-10 12:37:04 -08:00
puddingfactory cf456d321e Add Logentrus, hook for Logentries, to list 2016-12-10 15:36:15 -06:00
Dave Clendenan 88dd8df1f8 responses to code review
- field rename to be more properly generic
 - drop rewrite of main.main
2016-12-06 12:53:21 -08:00
Dave Clendenan d8fd23467c add syntax hilighting to new example blocks 2016-12-02 10:09:30 -08:00
Dave Clendenan 2e7c40ede0 README formatting tweak 2016-12-02 09:57:30 -08:00
Dave Clendenan 802fba19a4 add note on caller-reporting overhead to README 2016-12-02 09:52:11 -08:00
Dave Clendenan 5840194571 Merge branch 'master' of https://github.com/Sirupsen/logrus
Conflicts:
	alt_exit_test.go
	json_formatter_test.go
2016-12-02 09:38:12 -08:00
Craig Jellick 7d228b51ce Update readme example for switching output
Clarifies that stderr is the default, not stdout.
2016-12-01 17:37:34 -07:00
Simon Eskildsen 3c3917e625 readme: apologize for casing issue 2016-12-01 18:55:03 -05:00
Simon Eskildsen 26809363aa Revert "Merge pull request #384 from mnzt/master"
This reverts commit 42b84f9ec6, reversing
changes made to cf60a8c5d5.
2016-12-01 18:53:16 -05:00
Dave Clendenan f08011a10f merge upstream, add tests, full method context
- added benchmarks, and assertions for timeliness
- replaced regex usage in package-name handling with a straight
  comparison to a cached value
- log the fullly-qualified method name, to remove ambiguity
    eg: github.com/fflintstone/yabba.dabba.doo
- clean up possibly-unsafe assumptions about using the standard logger,
  remove global lookup function to enforce safe usage
2016-12-01 10:23:00 -08:00
Simon Eskildsen 42b84f9ec6 Merge pull request #384 from mnzt/master
Renaming upper-case 'Sirupsen' to 'sirupsen'
2016-11-30 15:35:45 -05:00
Daniel Taylor 90915c9326 Fix typo in README 2016-11-29 10:52:28 -08:00
Dave Clendenan 348bace269 doc updates, and relabel ReportMethod
in the Logrus context it's the caller, so use that internally.  Label
stays as 'method' since in the context of the log event that seems more
correct.
2016-11-29 09:35:34 -08:00
Dave Clendenan 473c3448ab Add README notes and CHANGELOG entries
documentation for usage of the new optional calling-method logging
2016-11-28 13:43:38 -08:00
Dave Clendenan 93af604ba7 First cut at adding calling method
If log.SetReportMethod(true) then method=PACKAGE.FUNCTION will be added
as a field to log lines.
eg: time="2016-11-25T19:04:43-08:00" level=info method=main msg="log
testing"

TODO: documentation, examples
2016-11-25 19:02:56 -08:00
Philippe Lafoucrière 65aed8c493 Add pglogrus to README 2016-11-03 21:59:20 -04:00
Simon Eskildsen 380f64d344 Merge pull request #412 from sagar8192/add-scribe-hook-description
Add scribe hook
2016-10-31 10:45:02 -04:00
Simon Eskildsen 8de4982a7a Merge pull request #413 from toorop/master
Add Pushover Hook
2016-10-31 10:44:55 -04:00
Simon Eskildsen 7371813290 Merge pull request #421 from heralight/master
Update README.md
2016-10-31 10:44:43 -04:00
JJ Merelo ea5eab4f4b Adds new logz.io hook by @ripcurld00d 2016-10-09 13:02:24 +02:00
Alexandre Richonnier 0c8a99c9b8 Update README.md
add link to Logrus and Viper integration Helper
2016-10-05 09:20:26 +02:00
Stéphane Depierrepont aka Toorop f7be9f0695 Add Pushover Hook 2016-09-19 16:09:08 +02:00
Sagar Sadashiv Patwardhan 32472f55b6 Add scribe hook 2016-09-18 12:42:16 -07:00
Aaron Greenlee 08a8a7c27e Merge pull request #370 from frostyplanet/bufferpool
Optimise speed
2016-08-13 11:40:05 -04:00
Aaron Greenlee 58d2a6a703 Merge pull request #358 from gpolaert/patch-1
Add new hook for Logmatic.io
2016-08-13 11:39:25 -04:00
plan 4c4ffbea17 Add document for logger.SetNoLock() 2016-08-11 01:51:00 +08:00
Toby c8b0c0e43b
Fixing import for airbrake and adding build constraint to example hook 2016-07-27 13:12:26 +01:00
Aaron Greenlee a283a10442 Improved documentation of Fatal Handlers 2016-07-15 22:56:31 -04:00
Luke Petre 4ee95f9462 Removing logstash formatter 2016-07-12 21:23:56 +01:00
Simon Eskildsen f3cfb454f4 readme: fix example 2016-06-01 07:32:10 -04:00
Harry Moreno 67fb1f35e6 change 'log' -> 'logrus'
Change 'log' -> 'logrus' to fix syntax error
2016-05-23 19:54:24 -04:00
Guillaume Polaert 93985e4b77 Add new hook for Logmatic.io
Logmatic.io is Saas-based log management solution.
We develop a simple hook in order to send your Logrus logs straight to Logmatic.io
2016-05-17 17:38:10 +02:00
Antoine Grondin 870c1fc2ca add logstash hook to readme
closes #339
2016-04-16 12:42:53 +05:30
Simon Eskildsen 7e6f976580 Merge pull request #341 from doublefree/add_smologic_hook_readme
Sumorus - SumoLogic Hook url added to readme
2016-04-13 08:47:20 -04:00
Vlad-Doru Ion 0d667bc0c7 Added a new hook to the README.md
Added the logrusus hook.
2016-04-04 10:58:58 +03:00
takuya.watabe 5eb315cfd5 Sumorus - SumoLogic Hook url added to readme 2016-03-31 00:20:06 +09:00
Simon Eskildsen e110284865 Merge pull request #325 from spicydog/patch-1
Update README.md
2016-03-17 10:01:08 -04:00
Radomír Sohlich b8b6593e80 Hook for ElasticSearch.
Added a link for ElasticSearch hook.
2016-03-16 20:34:53 +01:00
dragon3 ea350e0221 Add Typetalk hook 2016-03-09 23:13:41 -05:00
Prateek Srivastava 6d7aacc216 Fix Godoc link
Previous https://cloudup.com/cZnP3-jZ9O8
2016-02-24 14:05:45 -07:00
Joern Barthel 95190bb5ae Added testing section to README. 2016-02-22 10:51:00 +01:00
Simon Eskildsen 57cce1ed61 readme: fix kafka link 2016-02-18 19:38:25 -05:00
harshad 4ccde140c3 adding link for the kafka hook 2016-02-17 13:07:32 +05:30
spicydog d5a509ac3f Update README.md
Update set  log formatter command to "log.SetFormatter()" since "log.Formatter = new()" does not work.
2016-02-16 13:41:25 +10:00
Vlado Atanasov 6e0b3a3397 Update README.md 2016-02-12 10:30:56 +00:00
Vlado Atanasov 2be7bf5c9c Update README.md 2016-02-12 10:30:30 +00:00
Rogier Lommers 255c37f4ba add link to logrus-redis-hook 2016-01-26 21:01:36 +01:00
mitsuteru sawa fd860ab61d Fix typo
“ should be ".
2015-11-30 16:22:28 +09:00
Zeal 8b27a242e4 fix logrus_mate link address 2015-11-16 18:22:07 +08:00
Simon Eskildsen eb61880d00 Merge pull request #282 from x-cray/master
Add ref to third-party prefixed log formatter
2015-11-16 08:27:26 +01:00
Simon Eskildsen ac496616c9 Merge pull request #275 from xujinzheng/master
add tools section for logrus mate
2015-11-16 08:23:49 +01:00
Ian Eyberg ac099ab45a adding deferpanic hook in readme 2015-11-06 14:47:10 -08:00
Denis Parchenko eb1e36217e Add ref to third-party prefixed log formatter 2015-10-29 09:43:41 +02:00
JoongSeob Vito Kim 2308b7ee63 Add octokit hook.
Add octokit(github) hook.
2015-10-27 18:58:00 +09:00
Scott Francis faac3ea969 Remove Bugsnag 2015-10-22 20:20:45 +00:00
Zeal e958fd6f37 add tools section for logrus mate 2015-10-19 14:19:45 +08:00
Abramovic 68064ae592 include InfluxDB hook 2015-10-12 10:41:37 -07:00
Peter Olds 3240988909 Split out Papertrail hook to its own repo
Signed-off-by: Peter Olds <polds@kyanicorp.com>
2015-10-09 10:28:56 -06:00
evalphobia ba64a98b3b Move sentry hook to external repository 2015-10-07 12:59:33 +09:00
Philippe Lafoucrière 1d8ceff9b2 Move graylog to dedicated repo
The new repo uses gopkg.in for versioning.
This is the continuation of logrus moving hooks to dedicated repos.

The old repo
https://github.com/gemnasium/logrus-hooks/tree/master/graylog
is deprecated, as we don't want to share things there too (import
airbrake while I just want graylog). It will be removed in a few
months.
2015-10-06 14:43:55 -04:00
Philippe Lafoucrière 86739cfcf4 Remove leftover 2015-10-06 14:33:31 -04:00
Philippe Lafoucrière 297ec6fcaa Move airbrake to dedicated repo(s)
The current implementation is using an old implementation of the
Airbrake v2 api. Airbrake has release v2 since, but this package is
necessary for in-house solutions like errbit.
The number of errbit users don't justify to continue pushing this
version as the official.
That's why the official hook is now using gobrake (the official
package), and the one coming from logrus is now named "legacy".
2015-10-06 14:28:31 -04:00
Simon Eskildsen 05fe8fb917 Merge pull request #256 from flowlo/patch-1
Improve references to Logstash formatter
2015-10-05 07:35:44 -04:00
Lorenz Leutgeb 005f65e9b5 Improve references to Logstash formatter 2015-09-17 19:37:51 +02:00
devopstaku 4805f72c39 Add description about how to connect to local syslog with syslog hook 2015-09-09 21:55:50 +08:00
Linus Gasser 8c8be89501 Update README.md
Typo it seems - except if I still didn't understand go...
2015-09-04 12:02:14 +02:00
weekface c2efb40312 Add hook for logging to mongodb 2015-08-27 09:54:11 +08:00