Commit f36f61d
Clean up noisy logs
Summary:
Previously, we were having two logs that will display on every job:
```
E1023 11:34:59.640702 2378951 Logger.cc:164] Thread Context Fn dict does not contain prefix NCCL
W1023 11:34:59.640872 2378951 Logger.cc:144] devvm26668:2378951:2378951 [0][main] NCCL WARN Prefix NCCL re-registering thread context fn
```
This is due to our change to logger. This has caused difficulty for developers to look at the log in jobs. Remove these logs by:
1. Change re-registering thread context fn log to debug level.
2. Add context fn to prefix in logger initialization.
Reviewed By: minsii
Differential Revision: D85368422
fbshipit-source-id: dce116fea80612ea4555c568ba657ae31f91424a1 parent 0bb846d commit f36f61d
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| |||
142 | 144 | | |
143 | 145 | | |
144 | 146 | | |
145 | | - | |
| 147 | + | |
146 | 148 | | |
147 | 149 | | |
148 | 150 | | |
| |||
0 commit comments