lumberjack
lumberjack is a log rolling package for Go (by natefinch)
log
Structured logging package for Go. (by apex)
Our great sponsors
lumberjack | log | |
---|---|---|
4 | 2 | |
4,603 | 1,348 | |
- | 0.2% | |
0.0 | 0.0 | |
28 days ago | 6 months ago | |
Go | Go | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lumberjack
Posts with mentions or reviews of lumberjack.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-06-14.
-
Is there any logging library for go that can rotate log files daily / hourly?
Lumberjack supports rotation by file size only. https://github.com/natefinch/lumberjack/issues/54 Maybe I should try something like logrotate?
-
Logging with Go
I've used this before and it works well: https://github.com/natefinch/lumberjack
log
Posts with mentions or reviews of log.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-12.
-
Best Logging Library for Golang
logrus README recommended using other libraries such as Zerolog, Zap, and Apex.
-
Have you replaced Sirupsen/logrus, and if so, with what?
Many fantastic alternatives have sprung up. Logrus would look like those, had it been re-designed with what we know about structured logging in Go today. Check out, for example, Zerolog, Zap, and Apex.
What are some alternatives?
When comparing lumberjack and log you can also consider the following projects:
logrus - Structured, pluggable logging for Go.
zerolog - Zero Allocation JSON Logger
zap - Blazing fast, structured, leveled logging in Go.
glog - Leveled execution logs for Go
logger - Minimalistic logging library for Go.
spew - Implements a deep pretty printer for Go data structures to aid in debugging
logutils - Utilities for slightly better logging in Go (Golang).
rollingwriter - Rolling writer is an IO util for auto rolling write in go.