Applies the page-level copy notes from the [DOCS-738](https://linear.app/codercom/issue/DOCS-738) Administration content review that still hold after the Install spine move (#29304), and fixes the control plane terminology drift left in hand-written Administration pages since #28960. This is the copy-only first slice of [DOCS-1192](https://linear.app/codercom/issue/DOCS-1192). No page moves, so no redirects. The sidebar restructure comes in a separate PR once the IA decisions are settled. <details> <summary>Status of each DOCS-738 note</summary> | Page | Note | Status | |---|---|---| | `admin` | Server, control plane, and `coderd` overlap | Settled by the "Naming Coder's components" rule in #28960. This PR fixes the drift that has crept in since. | | `admin` | "configuration guide" link text | Applied. The link text now matches the page title, "Configure control plane access", which replaced "Setup" after the review. | | `admin` | Landing page by role, terminology list | Deferred to the restructure PR, because the role routes depend on the new sections. | | `admin/setup` | Configuration reference linked only from the Tip | Applied. It's linked from the intro now, and the Tip is gone. | | `admin/setup` | Empty Up Next | Already filled. Renamed it to "Next steps" and fixed "Setup" used as a verb. | | `admin/setup/telemetry` | TL;DR note | Applied. "Turn telemetry on or off" now leads the page. | | `admin/setup/telemetry` | "Why we collect" | Applied: "Why we collect telemetry" and "What telemetry we collect". The old anchors still resolve. | | `admin/setup/telemetry` | Heading case | No change. The headings are already sentence case, which is the current style guide rule. | | `admin/infrastructure` | Section blurb | Gone. #29304 moved the section to Install > Plan. | | `admin/infrastructure/architecture` | `coderd` versus control plane | Settled by #28960 and the glossary. | | `admin/templates/extending-templates` | Too many subtopics | Tracked in [DOCS-874](https://linear.app/codercom/issue/DOCS-874). | | `admin/templates/open-in-coder` | Spacing after the intro | No change. The page is now `templates/open-in-coder.md`, and a caption paragraph has since been added between the video and the first heading. I haven't checked the rendered page. | | `admin/integrations` | "container compute" | Applied. | | `admin/networking` | "Tailscale's open source" | Applied. The sentence now names Coder's Tailscale fork and what it provides. | | `admin/networking/stun` | "The below glosses over" | Applied as "The following description simplifies NAT traversal." I didn't use "oversimplifies" because that would say the description is wrong. | | `admin/monitoring` | Helm chart quick start leads the page | Applied. The page opens with Coder's monitoring capabilities and a `<children>` list (the hand-written list was missing two child pages), followed by the Helm chart as its own section. | </details> <details> <summary>Terminology fixes</summary> - `monitoring/health-check.md`: "Coder server logs" becomes "`coderd` logs" (EPS01, EPS02), and "the server running Coder" becomes "the control plane host". - `monitoring/logs.md`, `integrations/oauth2-provider/troubleshooting.md`, `users/password-auth.md`: "the server" becomes `coderd` or "the control plane". - `networking/workspace-proxies.md`: "primary coderd" becomes "the control plane". - `networking/reverse-proxy-caddy.md`: a firewall comment. - `users/organizations-best-practices.md`: backticks around the `coderd` Terraform provider name. Left alone: peer-sense "server" in NAT prose, the NATS, webhook, and hook servers, and the generated `configuration-reference.md`, which still says "Coder server" and needs a `configdocgen` change. </details> Checks: `make lint/emdash`, `make lint/docs-html`, and `make lint/docs-redirects` pass. markdownlint reports 0 errors on the changed files. Vale reports nothing new compared with `main` on the changed files. The doc-check self-check ran in author mode. It tightened two claims and left no blocking findings. Refs DOCS-1192 > [!NOTE] > This PR was generated by Coder Agents on behalf of @nickvigilante.
3.1 KiB
title
| title |
|---|
| Logs |
All Coder services log to standard error, which can be critical for identifying errors and monitoring Coder's deployment health. Like any service, logs can be captured via Splunk, Datadog, Grafana Loki, or other ingestion tools.
coderd Logs
By default, coderd, the process that runs the control plane, exports human-readable logs to standard error.
You can access these logs via kubectl logs deployment/coder -n <coder-namespace> on Kubernetes or journalctl -u coder if you deployed Coder on a host machine/VM.
- To change the log format/location, you can set
CODER_LOGGING_HUMANandCODER_LOGGING_JSONserver config. options. - To only display certain types of logs, use the
CODER_LOG_FILTERserver config. Using.*will result in theDEBUGlog level being used.
Note
To disable human-readable logging, set
--log-human(orCODER_LOGGING_HUMAN) to/dev/null. If you set no JSON or Stackdriver log location, Coder then writes no logs. Do not use an empty value to disable logging. If every log location is empty and--trace(CODER_TRACE_ENABLE) is off,coderdexits withno loggers provided, use /dev/null to disable logging.
Events such as server errors, audit logs, user activities, and single sign-on (SSO) & OpenID Connect logs are all captured in the coderd logs.
provisionerd Logs
Logs for external provisioners are structured and configured similarly to coderd logs.
Use these logs to troubleshoot and monitor the Terraform operations behind workspaces and templates.
Workspace Logs
The Coder agent inside workspaces provides useful logs around workspace-to-server and client-to-workspace connections. For Kubernetes workspaces, these are typically the pod logs as the agent runs via the container entrypoint.
Agent logs are also stored in the workspace filesystem by default:
- macOS/Linux:
/tmp/coder-agent.log - Windows: Refer to the template code (for example, azure-windows) to see where logs are stored.
Note
The agent rotates its log file once it reaches 5 MB and keeps up to 19 rotated files. For details, refer to Trace connections.
Startup script logs are also stored in the temporary directory of macOS and Linux workspaces.
Kubernetes Event Logs
Sometimes, a workspace might take a while to start or even fail to start due to underlying events on the Kubernetes cluster such as a node being out of resources or a missing image. You can install coder-logstream-kube to stream Kubernetes events to the Coder UI.
