Skip to content

Commit f3f3ba6

Browse files
authoredMay 29, 2024
Use progress log level for non-error messages (#33613)
1 parent 8e5b1e1 commit f3f3ba6

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed
 

‎src/app/tests/suites/certification/Test_TC_CADMIN_1_5.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ tests:
186186
187187
[1663841939.843550][13897:13897] CHIP:DL: NVS set: chip-counters/total-operational-hours = 0 (0x0)
188188
[1663841939.843617][13897:13897] CHIP:DL: Inet Layer shutdown
189-
[1663841939.843673][13897:13897] CHIP:DL: BLE shutdown
189+
[1663841939.843673][13897:13897] CHIP:DL: BLE Layer shutdown
190190
[1663841939.843727][13897:13897] CHIP:DL: System Layer shutdown
191191
[1663841939.844009][13897:13897] CHIP:TOO: Run command failure: ../../examples/chip-tool/commands/pairing/PairingCommand.cpp:151: CHIP Error 0x00000003: Incorrect state
192192
cluster: "LogCommands"

‎src/app/tests/suites/certification/Test_TC_CADMIN_1_7.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ tests:
102102
103103
[1663841939.843550][13897:13897] CHIP:DL: NVS set: chip-counters/total-operational-hours = 0 (0x0)
104104
[1663841939.843617][13897:13897] CHIP:DL: Inet Layer shutdown
105-
[1663841939.843673][13897:13897] CHIP:DL: BLE shutdown
105+
[1663841939.843673][13897:13897] CHIP:DL: BLE Layer shutdown
106106
[1663841939.843727][13897:13897] CHIP:DL: System Layer shutdown
107107
[1663841939.844009][13897:13897] CHIP:TOO: Run command failure: ../../examples/chip-tool/commands/pairing/PairingCommand.cpp:151: CHIP Error 0x00000003: Incorrect state
108108
disabled: true
@@ -161,7 +161,7 @@ tests:
161161
[1665481996.786704][4913:4913] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini)
162162
[1665481996.786930][4913:4913] CHIP:DL: NVS set: chip-counters/total-operational-hours = 0 (0x0)
163163
[1665481996.786999][4913:4913] CHIP:DL: Inet Layer shutdown
164-
[1665481996.787065][4913:4913] CHIP:DL: BLE shutdown
164+
[1665481996.787065][4913:4913] CHIP:DL: BLE Layer shutdown
165165
[1665481996.787123][4913:4913] CHIP:DL: System Layer shutdown
166166
[1665481996.787363][4913:4913] CHIP:TOO: Run command failure: ../../commands/pairing/PairingCommand.cpp:164: CHIP Error 0x00000003: Incorrect state
167167
disabled: true
@@ -284,7 +284,7 @@ tests:
284284
285285
[1678796869.645576][648903:648903] CHIP:DL: NVS set: chip-counters/total-operational-hours = 0 (0x0)
286286
[1678796869.645584][648903:648903] CHIP:DL: Inet Layer shutdown
287-
[1678796869.645589][648903:648903] CHIP:DL: BLE shutdown
287+
[1678796869.645589][648903:648903] CHIP:DL: BLE Layer shutdown
288288
[1678796869.645596][648903:648903] CHIP:DL: System Layer shutdown
289289
[1678796869.645693][648903:648903] CHIP:TOO: Run command failure: ../../commands/pairing/PairingCommand.cpp:215: CHIP Error 0x00000003: Incorrect state
290290
disabled: true

‎src/app/tests/suites/certification/Test_TC_CADMIN_1_8.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ tests:
100100
101101
[1663842366.887733][13938:13938] CHIP:DL: NVS set: chip-counters/total-operational-hours = 0 (0x0)
102102
[1663842366.887797][13938:13938] CHIP:DL: Inet Layer shutdown
103-
[1663842366.887851][13938:13938] CHIP:DL: BLE shutdown
103+
[1663842366.887851][13938:13938] CHIP:DL: BLE Layer shutdown
104104
[1663842366.887905][13938:13938] CHIP:DL: System Layer shutdown
105105
[1663842366.888154][13938:13938] CHIP:TOO: Run command failure: ../../examples/chip-tool/commands/common/CHIPCommand.cpp:454: CHIP Error 0x00000032: Timeout
106106
disabled: true
@@ -154,7 +154,7 @@ tests:
154154
verify you got the following message in the TH_CR2(CHIP-TOOL) log
155155
156156
[1700552012.724377][27528:27528] CHIP:DL: Inet Layer shutdown
157-
[1700552012.724405][27528:27528] CHIP:DL: BLE shutdown
157+
[1700552012.724405][27528:27528] CHIP:DL: BLE Layer shutdown
158158
[1700552012.724445][27528:27528] CHIP:DL: System Layer shutdown
159159
[1700552012.725294][27528:27528] CHIP:TOO: Run command failure: ../../examples/chip-tool/commands/common/CHIPCommand.cpp:589: CHIP Error 0x00000032: Timeout
160160
disabled: true
@@ -276,7 +276,7 @@ tests:
276276
Verify you got the following message in the TH_CR3(Chip-tool) log
277277
278278
[1700552012.724377][27528:27528] CHIP:DL: Inet Layer shutdown
279-
[1700552012.724405][27528:27528] CHIP:DL: BLE shutdown
279+
[1700552012.724405][27528:27528] CHIP:DL: BLE Layer shutdown
280280
[1700552012.724445][27528:27528] CHIP:DL: System Layer shutdown
281281
[1700552012.725294][27528:27528] CHIP:TOO: Run command failure: ../../examples/chip-tool/commands/common/CHIPCommand.cpp:589: CHIP Error 0x00000032: Timeout
282282
disabled: true

‎src/app/tests/suites/certification/Test_TC_CADMIN_1_9.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ tests:
551551
[1665484807.015876][5399:5399] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini)
552552
[1665484807.016042][5399:5399] CHIP:DL: NVS set: chip-counters/total-operational-hours = 0 (0x0)
553553
[1665484807.016108][5399:5399] CHIP:DL: Inet Layer shutdown
554-
[1665484807.016163][5399:5399] CHIP:DL: BLE shutdown
554+
[1665484807.016163][5399:5399] CHIP:DL: BLE Layer shutdown
555555
[1665484807.016215][5399:5399] CHIP:DL: System Layer shutdown
556556
[1665484807.016460][5399:5399] CHIP:TOO: Run command failure: ../../commands/pairing/PairingCommand.cpp:164: CHIP Error 0x00000003: Incorrect state
557557
cluster: "LogCommands"
@@ -589,7 +589,7 @@ tests:
589589
[1665484807.015876][5399:5399] CHIP:DL: renamed tmp file to file (/tmp/chip_counters.ini)
590590
[1665484807.016042][5399:5399] CHIP:DL: NVS set: chip-counters/total-operational-hours = 0 (0x0)
591591
[1665484807.016108][5399:5399] CHIP:DL: Inet Layer shutdown
592-
[1665484807.016163][5399:5399] CHIP:DL: BLE shutdown
592+
[1665484807.016163][5399:5399] CHIP:DL: BLE Layer shutdown
593593
[1665484807.016215][5399:5399] CHIP:DL: System Layer shutdown
594594
[1665484807.016460][5399:5399] CHIP:TOO: Run command failure: ../../commands/pairing/PairingCommand.cpp:164: CHIP Error 0x00000003: Incorrect state
595595
cluster: "LogCommands"

‎src/include/platform/internal/GenericPlatformManagerImpl.ipp

+3-3
Original file line numberDiff line numberDiff line change
@@ -139,19 +139,19 @@ exit:
139139
template <class ImplClass>
140140
void GenericPlatformManagerImpl<ImplClass>::_Shutdown()
141141
{
142-
ChipLogError(DeviceLayer, "Inet Layer shutdown");
142+
ChipLogProgress(DeviceLayer, "Inet Layer shutdown");
143143
UDPEndPointManager()->Shutdown();
144144

145145
#if INET_CONFIG_ENABLE_TCP_ENDPOINT
146146
TCPEndPointManager()->Shutdown();
147147
#endif
148148

149149
#if CHIP_DEVICE_CONFIG_ENABLE_CHIPOBLE
150-
ChipLogError(DeviceLayer, "BLE shutdown");
150+
ChipLogProgress(DeviceLayer, "BLE Layer shutdown");
151151
BLEMgr().Shutdown();
152152
#endif
153153

154-
ChipLogError(DeviceLayer, "System Layer shutdown");
154+
ChipLogProgress(DeviceLayer, "System Layer shutdown");
155155
SystemLayer().Shutdown();
156156
}
157157

0 commit comments

Comments
 (0)