[PR #768] [MERGED] toggle json logging via config #1632

Closed
opened 2025-12-29 02:31:01 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/768
Author: @kazauwa
Created: 8/26/2022
Status: Merged
Merged: 9/20/2022
Merged by: @juanfont

Base: mainHead: feature/json-logs


📝 Commits (10+)

  • 2403c0e toggle json logging via config
  • bb6b07d FIXES #768 add new config entry to the old itegration tests
  • a9ede6a Merge branch 'main' into feature/json-logs
  • 302a88b Merge branch 'main' into feature/json-logs
  • 1f131c6 Merge branch 'main' into feature/json-logs
  • 7247302 Merge branch 'main' into feature/json-logs
  • dd155dc Create a distinct log section in config
  • ae4f2cc Update changelog
  • 874d6aa Make styling fixes
  • 9923adc Merge branch 'main' into feature/json-logs

📊 Changes

10 files changed (+72 additions, -17 deletions)

View changed files

📝 CHANGELOG.md (+7 -0)
📝 cmd/headscale/cli/root.go (+5 -1)
📝 config-example.yaml (+4 -1)
📝 config.go (+41 -9)
📝 integration_test/etc/alt-config.dump.gold.yaml (+3 -1)
📝 integration_test/etc/alt-config.yaml (+2 -1)
📝 integration_test/etc/alt-env-config.dump.gold.yaml (+3 -1)
📝 integration_test/etc/alt-env-config.yaml (+2 -1)
📝 integration_test/etc/config.dump.gold.yaml (+3 -1)
📝 integration_test/etc/config.yaml (+2 -1)

📄 Description

  • read the CONTRIBUTING guidelines
  • raised a GitHub issue or discussed it on the projects chat beforehand
  • added unit tests
  • added integration tests
  • updated documentation if needed
  • updated CHANGELOG.md

Proposal pull request for #653


🔄 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/juanfont/headscale/pull/768 **Author:** [@kazauwa](https://github.com/kazauwa) **Created:** 8/26/2022 **Status:** ✅ Merged **Merged:** 9/20/2022 **Merged by:** [@juanfont](https://github.com/juanfont) **Base:** `main` ← **Head:** `feature/json-logs` --- ### 📝 Commits (10+) - [`2403c0e`](https://github.com/juanfont/headscale/commit/2403c0e1981d6cd3ca60a88c3fc38be7e3e84810) toggle json logging via config - [`bb6b07d`](https://github.com/juanfont/headscale/commit/bb6b07dedcb15b9f84138ece6dac503b1065bcd4) FIXES #768 add new config entry to the old itegration tests - [`a9ede6a`](https://github.com/juanfont/headscale/commit/a9ede6a2bce9925c7701f7224c0cfc0d0515d5be) Merge branch 'main' into feature/json-logs - [`302a88b`](https://github.com/juanfont/headscale/commit/302a88bfdbf3ec9eaf37449e982be2a433482c06) Merge branch 'main' into feature/json-logs - [`1f131c6`](https://github.com/juanfont/headscale/commit/1f131c67297b5811e026556378cf4797cd340f7d) Merge branch 'main' into feature/json-logs - [`7247302`](https://github.com/juanfont/headscale/commit/7247302f4509ebc74568c874561cf81b76e8bc1f) Merge branch 'main' into feature/json-logs - [`dd155dc`](https://github.com/juanfont/headscale/commit/dd155dca97809d72a2ac6e031608b23f4d37a1fd) Create a distinct log section in config - [`ae4f2cc`](https://github.com/juanfont/headscale/commit/ae4f2cc4b520a560752c6a458527ee6fe3600f44) Update changelog - [`874d6aa`](https://github.com/juanfont/headscale/commit/874d6aaf6b9ce8563e09d3d4da8a3b100c4f04b5) Make styling fixes - [`9923adc`](https://github.com/juanfont/headscale/commit/9923adcb8bc0534eb31f302844250d1f31e62971) Merge branch 'main' into feature/json-logs ### 📊 Changes **10 files changed** (+72 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+7 -0) 📝 `cmd/headscale/cli/root.go` (+5 -1) 📝 `config-example.yaml` (+4 -1) 📝 `config.go` (+41 -9) 📝 `integration_test/etc/alt-config.dump.gold.yaml` (+3 -1) 📝 `integration_test/etc/alt-config.yaml` (+2 -1) 📝 `integration_test/etc/alt-env-config.dump.gold.yaml` (+3 -1) 📝 `integration_test/etc/alt-env-config.yaml` (+2 -1) 📝 `integration_test/etc/config.dump.gold.yaml` (+3 -1) 📝 `integration_test/etc/config.yaml` (+2 -1) </details> ### 📄 Description <!-- Please tick if the following things apply. You… --> - [x] read the [CONTRIBUTING guidelines](README.md#contributing) - [x] raised a GitHub issue or discussed it on the projects chat beforehand - [ ] added unit tests - [ ] added integration tests - [ ] updated documentation if needed - [x] updated CHANGELOG.md <!-- If applicable, please reference the issue using `Fixes #XXX` and add tests to cover your new code. --> Proposal pull request for #653 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 02:31:01 +01:00
adam closed this issue 2025-12-29 02:31:01 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#1632