Add log_upload config option to configure log upload separately from local app log level#681
Add log_upload config option to configure log upload separately from local app log level#681lmagyar wants to merge 3 commits intohassio-addons:mainfrom
Conversation
…local app log level
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
WalkthroughThis PR introduces a user-configurable ChangesLog Upload Configuration Control
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Review rate limit: 0/1 reviews remaining, refill in 48 minutes and 7 seconds.Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
tailscale/DOCS.md (1)
229-233: ⚡ Quick winAdd a one-line “when required” hint for
log_upload.Consider explicitly noting that users must set
log_upload: truewhen Tailscale Admin Console network logs are enabled, to avoid tailscaled startup refusal. This directly connects the option to the real failure mode users hit.Suggested doc tweak
### Option: `log_upload` Controls Tailscale's client log upload to log.tailscale.com. +Enable this if your tailnet policy/Admin Console requires client log upload; otherwise tailscaled can refuse to start. This option is disabled by default.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@tailscale/DOCS.md` around lines 229 - 233, Add a one-line “when required” hint to the Option: `log_upload` section explaining that users must set log_upload: true when enabling Tailscale Admin Console network logs (otherwise tailscaled may refuse to start); update the `log_upload` docs to include this explicit note referencing the option name `log_upload` and the daemon `tailscaled` so users see the direct connection to the startup failure mode.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@tailscale/DOCS.md`:
- Around line 229-233: Add a one-line “when required” hint to the Option:
`log_upload` section explaining that users must set log_upload: true when
enabling Tailscale Admin Console network logs (otherwise tailscaled may refuse
to start); update the `log_upload` docs to include this explicit note
referencing the option name `log_upload` and the daemon `tailscaled` so users
see the direct connection to the startup failure mode.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 95d4338a-88bc-46b5-ad3b-7b8c8d1aec2f
📒 Files selected for processing (5)
tailscale/DOCS.mdtailscale/config.yamltailscale/rootfs/etc/s6-overlay/s6-rc.d/init-magicdns-proxies-upstream-list/runtailscale/rootfs/etc/s6-overlay/s6-rc.d/tailscaled/runtailscale/translations/en.yaml
Proposed Changes
It was previously an ugly solution: to enable log upload, users should also enable detailed debug level logging locally.
Related Issues
fixes #674
Summary by CodeRabbit
New Features
Documentation