Commit 1f3d29b
: logging: default disable log forwarding (meta-pytorch#1878)
Summary:
this diff sets the following defaults for hyperactor-mesh global configuration values:
- `MESH_ENABLE_LOG_FORWARDING=false`
- `MESH_ENABLE_FILE_CAPTURE=false`
- `MESH_TAIL_LOG_LINES=0`
the effect of this is to disable log forwarding, prevent allocating resources for log forwarding, no file capture at the hyperactor mesh level (including no "exit tail" capture), in fact, under these defaults there is no interception of child process stdio at all.
a workplace post is planned to announce this change in default configuration.
this diff is built on: D85783397 provide config for enabling/disabling hyperactor-mesh logging interception features, D85919326 for avoiding spinning up `LogForwardActor` meshes when log forwarding is enabled and D85969320 for some detailed testing.
Reviewed By: zdevito, vidhyav
Differential Revision: D869944201 parent b68c7fc commit 1f3d29b
File tree
4 files changed
+20
-8
lines changed- hyperactor_mesh/src
- v1
- monarch_hyperactor/src/v1
- python/monarch/_src/actor/v1
4 files changed
+20
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
3692 | 3692 | | |
3693 | 3693 | | |
3694 | 3694 | | |
| 3695 | + | |
| 3696 | + | |
| 3697 | + | |
| 3698 | + | |
3695 | 3699 | | |
3696 | 3700 | | |
3697 | 3701 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1125 | 1125 | | |
1126 | 1126 | | |
1127 | 1127 | | |
| 1128 | + | |
1128 | 1129 | | |
1129 | 1130 | | |
1130 | 1131 | | |
| |||
1321 | 1322 | | |
1322 | 1323 | | |
1323 | 1324 | | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
1324 | 1328 | | |
1325 | 1329 | | |
1326 | 1330 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
313 | | - | |
314 | | - | |
315 | | - | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
| |||
592 | 592 | | |
593 | 593 | | |
594 | 594 | | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
595 | 598 | | |
596 | 599 | | |
597 | 600 | | |
| |||
606 | 609 | | |
607 | 610 | | |
608 | 611 | | |
| 612 | + | |
609 | 613 | | |
610 | 614 | | |
611 | 615 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
368 | | - | |
369 | | - | |
| 368 | + | |
| 369 | + | |
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
| |||
0 commit comments