You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/manage/troubleshoot/troubleshoot.md
+4
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,10 @@ For example:
62
62
63
63
For more information on setting log levels see, [Logging](/manage/troubleshoot/troubleshoot/#check-logs).
64
64
65
+
You may also find that not all logs you are expecting are displayed.
66
+
By default, `viam-server` deduplicates log messages that are deemed noisy.
67
+
To disable this behavior, see [Disable log deduplication](/operate/reference/viam-server/).
68
+
65
69
To access logs from the commandline, use [`viam machines logs`](/dev/tools/cli/#machines-alias-robots) on the command line or the [Machines API](/dev/reference/apis/robot/).
Copy file name to clipboardExpand all lines: docs/operate/reference/viam-server/_index.md
+11
Original file line number
Diff line number
Diff line change
@@ -144,6 +144,17 @@ Patterns are processed from top to bottom.
144
144
If multiple patterns apply, the last pattern to be processed will apply.
145
145
If log configurations are applied at a resource level using the `log_configuration` field, these take precedence over log levels applied in the `log` field of the machine configuration.
146
146
147
+
#### Disable log deduplication
148
+
149
+
By default, `viam-server` deduplicates log messages that are deemed noisy.
150
+
A log is deemed noisy if it has been output 3 times in the past 10 seconds.
151
+
152
+
To disable log deduplication, set `disable_log_deduplication` in your machine's configuration:
0 commit comments