This repository was archived by the owner on May 28, 2025. It is now read-only.
Commit 0be1e95
committed
Auto merge of rust-lang#17990 - Wilfred:local_time_logs, r=Veykril
internal: Use local time when formatting logs
When debugging rust-analyzer and looking at logs, it's much easier to read when the timestamp is in the local timezone.
Before:
2024-08-28T20:55:38.792321Z INFO ParseQuery: invoked at R18460
After:
2024-08-28T13:55:38.792321-07:00 INFO ParseQuery: invoked at R18460File tree
3 files changed
+32
-1
lines changed- src/tools/rust-analyzer
- crates/rust-analyzer/src/tracing
3 files changed
+32
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1187 | 1187 | | |
1188 | 1188 | | |
1189 | 1189 | | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
1190 | 1199 | | |
1191 | 1200 | | |
1192 | 1201 | | |
| |||
2093 | 2102 | | |
2094 | 2103 | | |
2095 | 2104 | | |
| 2105 | + | |
| 2106 | + | |
2096 | 2107 | | |
| 2108 | + | |
2097 | 2109 | | |
2098 | 2110 | | |
2099 | 2111 | | |
| 2112 | + | |
2100 | 2113 | | |
2101 | 2114 | | |
2102 | 2115 | | |
| |||
2105 | 2118 | | |
2106 | 2119 | | |
2107 | 2120 | | |
| 2121 | + | |
| 2122 | + | |
| 2123 | + | |
| 2124 | + | |
| 2125 | + | |
| 2126 | + | |
| 2127 | + | |
| 2128 | + | |
| 2129 | + | |
| 2130 | + | |
2108 | 2131 | | |
2109 | 2132 | | |
2110 | 2133 | | |
| |||
2213 | 2236 | | |
2214 | 2237 | | |
2215 | 2238 | | |
| 2239 | + | |
2216 | 2240 | | |
2217 | 2241 | | |
2218 | 2242 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
156 | 159 | | |
157 | 160 | | |
158 | 161 | | |
| |||
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
61 | 65 | | |
62 | 66 | | |
63 | 67 | | |
| |||
0 commit comments