By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
This adds a log file path option to the olm config struct so that it does not have to be configured directly using the newt package.
This enables removal of the explicit newt dependency for upstream packages that require it, such as pangolin-cli and other client projects.
I also ran a pass of gofmt on the project.
How to test?
Pass in a log file path in the olm.GlobalConfig struct and make sure it gets used when logging.
🔄 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/fosrl/olm/pull/74
**Author:** [@water-sucks](https://github.com/water-sucks)
**Created:** 1/10/2026
**Status:** ✅ Merged
**Merged:** 1/11/2026
**Merged by:** [@oschwartz10612](https://github.com/oschwartz10612)
**Base:** `dev` ← **Head:** `add-log-file-switch`
---
### 📝 Commits (2)
- [`11ee46e`](https://github.com/fosrl/olm/commit/11ee46e0b50cdcc60cb4d97a0524ac19f1010b04) chore: format files using gofmt
- [`d64b7bf`](https://github.com/fosrl/olm/commit/d64b7bf8646c41cd894dd7a73640d6fb75ae525d) feat(logger): configure log file path thorugh global options
### 📊 Changes
**6 files changed** (+56 additions, -46 deletions)
<details>
<summary>View changed files</summary>
📝 `dns/dns_proxy.go` (+5 -5)
📝 `dns/dns_records.go` (+1 -1)
📝 `dns/dns_records_test.go` (+34 -34)
📝 `dns/platform/darwin.go` (+1 -1)
📝 `olm/olm.go` (+13 -4)
📝 `olm/types.go` (+2 -1)
</details>
### 📄 Description
## Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
## Description
This adds a log file path option to the `olm` config struct so that it does not have to be configured directly using the `newt` package.
This enables removal of the explicit `newt` dependency for upstream packages that require it, such as `pangolin-cli` and other client projects.
I also ran a pass of `gofmt` on the project.
## How to test?
Pass in a log file path in the `olm.GlobalConfig` struct and make sure it gets used when logging.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/fosrl/olm/pull/74
Author: @water-sucks
Created: 1/10/2026
Status: ✅ Merged
Merged: 1/11/2026
Merged by: @oschwartz10612
Base:
dev← Head:add-log-file-switch📝 Commits (2)
11ee46echore: format files using gofmtd64b7bffeat(logger): configure log file path thorugh global options📊 Changes
6 files changed (+56 additions, -46 deletions)
View changed files
📝
dns/dns_proxy.go(+5 -5)📝
dns/dns_records.go(+1 -1)📝
dns/dns_records_test.go(+34 -34)📝
dns/platform/darwin.go(+1 -1)📝
olm/olm.go(+13 -4)📝
olm/types.go(+2 -1)📄 Description
Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
This adds a log file path option to the
olmconfig struct so that it does not have to be configured directly using thenewtpackage.This enables removal of the explicit
newtdependency for upstream packages that require it, such aspangolin-cliand other client projects.I also ran a pass of
gofmton the project.How to test?
Pass in a log file path in the
olm.GlobalConfigstruct and make sure it gets used when logging.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.