Skip to content

Commit ed99bf4

Browse files
committed
Add to common errors
1 parent a3143e4 commit ed99bf4

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

docs/dev/tools/common-errors.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,12 @@ This error occurs due to congestion while different machine processes compete fo
265265
266266
This error is usually harmless and may resolve on its own.
267267
268+
To get more logs, you can enable forwarding system logs for SOCKS, by adding the following to your [`viam-agent` system configuration](/manage/reference/viam-agent/#system-configuration):
269+
270+
```json
271+
{ "forward_system_logs": "socks-forwarder" }
272+
```
273+
268274
## Other common errors
269275
270276
### Accidental deletion of machines, locations, organizations, or accounts

docs/manage/reference/viam-agent/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ If the highest-priority network is not available (or, if `turn_on_hotspot_if_wif
327327
<!-- prettier-ignore -->
328328
| Name | Type | Required? | Description |
329329
| ---------- | ---- | --------- | ----------- |
330-
| `forward_system_logs` | string | Optional | Enable forwarding of system logs (journald) to the cloud. A comma-separated list of SYSLOG_IDENTIFIERs to include, optionally prefixed with "-" to exclude. "all" is a special keyword to log everything. Examples: `"kernel,tailscaled,NetworkManager"` or `"all,-gdm,-tailscaled"`. Default: `""` (disabled). |
330+
| `forward_system_logs` | string | Optional | Enable forwarding of system logs (journald) to the cloud. A comma-separated list of SYSLOG_IDENTIFIERs to include, optionally prefixed with "-" to exclude. "all" is a special keyword to log everything. Examples: `"kernel,tailscaled,NetworkManager,sock-forwarder"` or `"all,-gdm,-tailscaled"`. Default: `""` (disabled). |
331331
| `logging_journald_runtime_max_use_megabytes` | integer | Optional |Set the temporary space limit for logs. `-1` to disable. Default: `512` (512 MB). |
332332
| `logging_journald_system_max_use_megabytes` | integer | Optional | Sets the maximum disk space `journald` will use for persistent log storage. `-1` to disable. Default: `512` (512 MB). |
333333
| `os_auto_upgrade_type` | string | Optional | Manage OS package updates using Viam by setting this field. Installs the `unattended-upgrades` package, and replace `20auto-upgrades` and `50unattended-upgrades` in <FILE>/etc/apt/apt.conf.d/</FILE>, with an automatically generated Origins-Pattern list that is generated based on that of `50unattended-upgrades`. Custom repos installed on the system at the time the setting is enabled will be included. Options: `"all"` (automatic upgrades are performed for all packages), `"security"` (automatic upgrades for only packages containing `"security"` in their codename (for example `bookworm-security`)), `"disable"` (disable automatic upgrades), `""` (do not change system settings). Default: `""`. |

0 commit comments

Comments
 (0)