[PR #229] [MERGED] Refactor to migrate from sirupsen/logrus to rs/zerolog #228

Closed
opened 2026-02-26 18:33:51 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/decke/smtprelay/pull/229
Author: @decke
Created: 8/3/2025
Status: Merged
Merged: 8/3/2025
Merged by: @decke

Base: masterHead: log-rewrite-to-zerolog


📝 Commits (2)

  • e393a94 Refactor to migrate from sirupsen/logrus to rs/zerolog and integrate DeRuina/timberjack for logfile rotation
  • ecd45e8 Fix go.mod for go test

📊 Changes

5 files changed (+205 additions, -143 deletions)

View changed files

📝 config.go (+43 -34)
📝 go.mod (+4 -1)
📝 go.sum (+18 -8)
📝 logger.go (+50 -25)
📝 main.go (+90 -75)

📄 Description

This also integrates DeRuina/timberjack for logfile rotation

Fixes #228


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/decke/smtprelay/pull/229 **Author:** [@decke](https://github.com/decke) **Created:** 8/3/2025 **Status:** ✅ Merged **Merged:** 8/3/2025 **Merged by:** [@decke](https://github.com/decke) **Base:** `master` ← **Head:** `log-rewrite-to-zerolog` --- ### 📝 Commits (2) - [`e393a94`](https://github.com/decke/smtprelay/commit/e393a94177844464bf6df177886172a4eeee7b21) Refactor to migrate from sirupsen/logrus to rs/zerolog and integrate DeRuina/timberjack for logfile rotation - [`ecd45e8`](https://github.com/decke/smtprelay/commit/ecd45e805e6e2da3cea7ef1160795dcbc0888ec5) Fix go.mod for go test ### 📊 Changes **5 files changed** (+205 additions, -143 deletions) <details> <summary>View changed files</summary> 📝 `config.go` (+43 -34) 📝 `go.mod` (+4 -1) 📝 `go.sum` (+18 -8) 📝 `logger.go` (+50 -25) 📝 `main.go` (+90 -75) </details> ### 📄 Description This also integrates DeRuina/timberjack for logfile rotation Fixes #228 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 18:33:51 +03:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/smtprelay#228
No description provided.