Hacker GitHub

← All repos

sirupsen/logrus

View on GitHub ↗ ★ 25,765 Go

Structured, pluggable logging for Go.

25 mentions on Hacker News by 23 people: 2 stories, 23 comments · first 2014-03-13 · latest 2025-04-01

Mentions per year 25 mentions · busiest year 2015 (4)
20082026
  1. Correct URL: https://github.com/sirupsen/logrus
  2. …on the release branches too). It's effectively impossible for pubic-facing dependencies. Imagine if https://github.com/sirupsen/logrus wanted to change their Go modules import path, for example to move to another git hosting provider.…
    comment by cybrexalpha · 2024-08-13 · in Go is my hammer, and everything is a nail
  3. …[2] a Go library for logging, which sounds cool :-D 1: https://en.wikipedia.org/wiki/NetWars 2: https://github.com/Sirupsen/logrus
    comment by arendtio · 2024-07-02 · in Software galaxies
  4. …another hosting provider Or decides their github username looks better with an upper case letter ( https://github.com/sirupsen/logrus/issues/570 ). Or for people who use their real name as their github name, updating their username after…
  5. But in that case it should have a note saying it's finished or in maintenance mode (e.g. https://github.com/sirupsen/logrus); include references to replacements, offer paid support if you really need it or still use it, keep an eye on…
    comment by Cthulhu_ · 2023-03-18 · in Tracking the Fake GitHub Star Black Market
  6. If they change the case on their username on the other hand, the Go ecosystem explodes: https://github.com/sirupsen/logrus/issues/570#issuecomment-3...
  7. …$GOROOT) /home/user/go/src/github.com/mmcdole/gofeed (from $GOPATH) config.go:9:2: cannot find package "github.com/sirupsen/logrus" in any of: /usr/lib/go-1.10/src/github.com/sirupsen/logrus (from $GOROOT)…
  8. …night when logrus's author decided to rename his Github account and broke our production build ( https://github.com/sirupsen/logrus/pull/384 ). Since then, I always vendor third party dependencies.
    comment by favadi · 2021-11-28 · in GitHub Broken Download URLs
  9. …The first throw was this: import ( "context" "github.com/prometheus/client_golang/prometheus" log "github.com/sirupsen/logrus" "github.com/vmware/govmomi/find" "github.com/vmware/govmomi/view" "github.com/vmware/govmomi/vim25/mo"…
    comment by doublerabbit · 2021-03-22 · in The ecosystem of the Go programming language
  10. Right URLs never change. Remember when one of the most popular golang logging libraries renamed from github.com/Sirupsen/logrus to github.com/sirupsen/logrus and all of a sudden everything would break because you were using both via some…
  11. …subpackages. As a specific example... suppose you use github.com/jackc/pgx. With "go mod" you end up with "github.com/sirupsen/logrus" in your transitive dependencies, but with Bazel you don't, unless you use the part of pgx that requires…
  12. …for documentation - As for HTTP frameworks I just use the standard package and I really enjoy https://github.com/sirupsen/logrus for logging We use IIS. I really wanted to use go so, I found a way to run go applications on top of it. That…
  13. For Go just use logrus https://github.com/sirupsen/logrus It’s easy to use and full of features. There are faster packages out there but you don’t really need them unless you’re Twitter scale or something. For log aggregation in all…
  14. …or fork). A simple example that had caused tons of grief and had probably wasted lots of man-hours is when github.com/Sirupsen/logrus became github.com/sirupsen/logrus. Vendoring sort of works for simpler "I need a patched version of this"…
    comment by drdaeman · 2018-02-19 · in Why I Don't Like Golang (2016)
  15. …Go has issues with upppercase/lowercase repositories, meaning if one of your dependencies imports github.com/Sirupsen/logrus, and you or another dependency imports github.com/sirupsen/logrus your code won't compile, no matter if you are on…
    comment by naibafo · 2017-09-22 · in Go: Ten years and climbing
  16. …Command flags - https://github.com/spf13/pflag Config - https://github.com/spf13/viper Logging - https://github.com/Sirupsen/logrus Metrics - https://github.com/prometheus/client_golang/prometheus SQL helper -…
  17. …you can't safely parse plain text log files sometimes. For example this bug (mostly fixed by now) https://github.com/sirupsen/logrus/issues/531
    comment by kpcyrd · 2017-07-29 · in Without Systemd
  18. Looks like it does now: https://github.com/Sirupsen/logrus/blob/master/terminal_sola...
    comment by threemux · 2015-11-18 · in Golang on ARM
  19. …your take on Logrus? It seems like it would cover your major concerns, and it's widely recommended. https://github.com/Sirupsen/logrus
  20. …text entries, written into stdout or file. In future I am planning to move to something like this ( https://github.com/Sirupsen/logrus ) and improve log structure. - metrics exist in Centrifuge but the next step for Centrifugo (the only…
  21. similar structured logger https://github.com/Sirupsen/logrus
    comment by radimm · 2015-02-12 · in Tagged Logging in Go
  22. …Finally, there are already a plethora of loggers for Go. I'd recommend logrus for structured logs: https://github.com/Sirupsen/logrus Or glog otherwise. And a note: a logger isn't a debugger. GDB is a debugger for Go, see…
  23. …look. You might want to check out the logrus package - which I'm using and pretty happy with. https://github.com/sirupsen/logrus Logrus lets you add structured k,v fields so you do have to mess around with fmt and also has hooks to support…