{"id":74594,"library":"natefinch-lumberjack-v3","title":"Lumberjack","description":"Package lumberjack provides a rolling logger.","status":"active","version":"3.0.0-alpha","language":"go","source_language":null,"source_url":"https://github.com/natefinch/lumberjack","tags":["logging","rolling","file","logger"],"install":[{"cmd":"go get github.com/natefinch/lumberjack/v3","lang":"bash","label":"Install github.com/natefinch/lumberjack/v3"}],"dependencies":[],"imports":[{"symbol":"lumberjack","correct":"github.com/natefinch/lumberjack/v3"}],"quickstart":{"code":"package main\n\nimport (\n\t\"log\"\n\t\"github.com/natefinch/lumberjack/v3\"\n)\n\nfunc main() {\n\tlogger := &lumberjack.Logger{\n\t\tFilename:   \"/var/log/myapp/foo.log\",\n\t\tMaxSize:    500, // megabytes\n\t\tMaxBackups: 3,\n\t\tMaxAge:     28, // days\n\t}\n\tlog.SetOutput(logger)\n}","lang":"go","description":"Configure a rolling file logger"},"warnings":[{"fix":"Pin to a specific commit or wait for stable release","message":"v3 is in alpha; API may change before stable release","severity":"gotcha","affected_versions":">=3.0.0-alpha"}],"env_vars":null,"search_vec":"'file':10 'log':8 'logger':7,11 'lumberjack':1,3 'packag':2 'provid':4 'roll':6,9","created_at":"2026-06-17T19:05:45.934858+00:00","updated_at":"2026-06-17T19:05:45.934858+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/natefinch/lumberjack","github":"https://github.com/natefinch/lumberjack","docs":"https://pkg.go.dev/github.com/natefinch/lumberjack/v3#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["logging"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}