Skip to content

Commit

Permalink
Merge branch 'main' into dimad/mbe-510-proxy-randomly-closes-during-c…
Browse files Browse the repository at this point in the history
…onnection
  • Loading branch information
DmitryDodzin authored Feb 4, 2025
2 parents ea3f493 + dcb8bb9 commit f922303
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,14 @@ To debug it with a debugger:
## Retrieving Agent Logs
You can change the minimum severity of logs emitted by the agent by setting `agent.log_level` in the mirrord config
file, for example:
```json
"agent": {
"log_level": "mirrord=trace"
}
```
By default, the agent's pod will complete and disappear shortly after the agent exits. In order to be able to retrieve
the agent's logs after it crashes, set the agent's pod's TTL to a comfortable number of seconds. This configuration can
be specified either as a command line argument (`--agent-ttl`), environment variable (`MIRRORD_AGENT_TTL`), or in a
Expand Down
1 change: 1 addition & 0 deletions changelog.d/+agent-log-level-instructions.internal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add instructions to CONTRIBUTING.md for changing the agent log level in mirrord config.

0 comments on commit f922303

Please sign in to comment.