[PR #78] [MERGED] Add ability to log to file #263

Closed
opened 2026-03-01 17:24:53 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/abh/geodns/pull/78
Author: @abligh
Created: 9/2/2015
Status: Merged
Merged: 9/6/2015
Merged by: @abh

Base: masterHead: log-to-file


📝 Commits (1)

  • 76fd448 Add ability to log to file

📊 Changes

2 files changed (+83 additions, -2 deletions)

View changed files

📝 geodns.go (+6 -1)
📝 log.go (+77 -1)

📄 Description

The -logto command line option logs output to a file (rather than stderr). If the log file is rotated (via logrotate or similar), this is detected.


🔄 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/abh/geodns/pull/78 **Author:** [@abligh](https://github.com/abligh) **Created:** 9/2/2015 **Status:** ✅ Merged **Merged:** 9/6/2015 **Merged by:** [@abh](https://github.com/abh) **Base:** `master` ← **Head:** `log-to-file` --- ### 📝 Commits (1) - [`76fd448`](https://github.com/abh/geodns/commit/76fd4483818a6f8acc18a28dc368745ab2513dd3) Add ability to log to file ### 📊 Changes **2 files changed** (+83 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `geodns.go` (+6 -1) 📝 `log.go` (+77 -1) </details> ### 📄 Description The `-logto` command line option logs output to a file (rather than `stderr`). If the log file is rotated (via `logrotate` or similar), this is detected. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 17:24:53 +03:00
Sign in to join this conversation.
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/geodns#263
No description provided.