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
20082026
-
▲ 1
Logging – Quick setup for go langstory by guptadeepak · 2025-04-01 · 1 comment
-
Correct URL: https://github.com/sirupsen/logrus
comment by ZephyrBlu · 2025-03-22 · in MySQL transactions per second vs. fsyncs per second (2020) -
…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 -
…[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 -
…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…
comment by Macha · 2024-04-19 · in Tips on how to structure your home directory (2023) -
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 -
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...
comment by Macha · 2023-01-09 · in Sourcehut will blacklist the Go module mirror -
…$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)…
comment by jll29 · 2022-11-20 · in Show HN: Rssnix – Unix-style filesystem-based RSS/Atom/JSON Feed fetcher/reader -
…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 -
…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 -
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…
comment by btashton · 2020-10-02 · in Python typosquatting is about more than typos -
…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…
comment by klodolph · 2020-09-16 · in Bazel For Open-Source C/C++ Libraries Distribution -
…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…
comment by comment_out · 2020-04-16 · in Ask HN: How are you using Go to write production-grade back end services? -
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…
comment by programd · 2018-06-15 · in Ask HN: What are the best logging packages you have come across? -
…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) -
…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 -
…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 -…
comment by programd · 2017-09-07 · in Ask HN: What Go framework for web API are you using in production? -
…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 -
Looks like it does now: https://github.com/Sirupsen/logrus/blob/master/terminal_sola...
comment by threemux · 2015-11-18 · in Golang on ARM -
…your take on Logrus? It seems like it would cover your major concerns, and it's widely recommended. https://github.com/Sirupsen/logrus
comment by cat9 · 2015-06-26 · in A Go “clone” of the great and famous Requests library -
…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…
comment by FZambia · 2015-05-26 · in Centrifugo – real-time messaging server in Go, supports WebSockets and SockJS -
similar structured logger https://github.com/Sirupsen/logrus
comment by radimm · 2015-02-12 · in Tagged Logging in Go -
…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…
comment by AYBABTME · 2014-09-29 · in Show HN: Simple logger and debugger for Go programs -
…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…
comment by yourabi · 2014-09-28 · in Show HN: Simple logger and debugger for Go programs -
▲ 4
Logrus – Structured, pleasant logging for Go.story by hebz0rl · 2014-03-13 · 0 comments