Comments (9)
ChipLogError(Controller, "Creating NSError from %" CHIP_ERROR_FORMAT, errorCode.Format());
Log which MTRDevice (and nodeID) this is for
from connectedhomeip.
ChipLogError(SecureChannel, "CASESession timed out while waiting for a response from the peer. Current state was %u",
to_underlying(mState));
We should log the nodeID here.
from connectedhomeip.
if (err == CHIP_NO_ERROR)
{
ChipLogProgress(Controller, "Successfully finished commissioning step '%s'", StageToString(report.stageCompleted));
}
else
{
ChipLogProgress(Controller, "Error on commissioning step '%s': '%s'", StageToString(report.stageCompleted), err.AsString());
}
if (err != CHIP_NO_ERROR)
{
completionStatus.failedStage = MakeOptional(report.stageCompleted);
ChipLogError(Controller, "Failed to perform commissioning step %d", static_cast<int>(report.stageCompleted));
if (report.Is<AttestationErrorInfo>())
{
This area in AutoCommissioner (and more down there) to allow us to know which device we're talking to (Could be vid/pid, etc)
from connectedhomeip.
Logging NodeID would be great here too:
MTR_LOG_DEFAULT("Read attribute work item [%llu] report duplicate %@", workItemID, readItem);
Along with all other logging in MTRDevice.mm that begins with "Read attribute work item"
from connectedhomeip.
ChipLogProgress(ExchangeManager,
"Retransmitting MessageCounter:" ChipLogFormatMessageCounter " on exchange " ChipLogFormatExchange
" Send Cnt %d",
messageCounter, ChipLogValueExchange(&entry->ec.Get()), entry->sendCount);
Let's add the nodeID and/or more context so we can figure out what this is retransmitting to
from connectedhomeip.
ChipLogError(Discovery, "Mdns: Resolve failure (%s)", errorStr);
We should log what we're trying to discover here.
from connectedhomeip.
ChipLogError(ExchangeManager,
"Failed to Send CHIP MessageCounter:" ChipLogFormatMessageCounter " on exchange " ChipLogFormatExchange
" sendCount: %u max retries: %d",
messageCounter, ChipLogValueExchange(&ec.Get()), sendCount, CHIP_CONFIG_RMP_DEFAULT_MAX_RETRANS);
Add nodeID to this
from connectedhomeip.
Let's add the nodeID and/or more context so we can figure out what this is retransmitting to
We could, but the message counter can be used to find the original transmission, which has that info...
Log which MTRDevice (and nodeID) this is for
That information is not currently available there. We could add another initializer which allows passing it in, and update all the callsites that have that info, of course.
from connectedhomeip.
The key here is to have it on a single line, without manual humans reading through logs trying to associate things
from connectedhomeip.
Related Issues (20)
- Dependabot fails with `there was not enough disk space available`
- [TC-RR-1.1] INFO Step 14: Setting group key map on fabric 6 Error . HOT 5
- Few follow ups on top of #32516
- [BUG] RVC app missing in SDK Docker image
- Basic Info cluster: add DeviceLocation attribute
- Do not set up subscription for remote controllers when delegate is set
- [Documentation] Linux dishwasher-app example README wrongly refers to lighting app
- [Documentation] Linux refrigerator-app example README wrongly refers to lighting app
- Add HomeLoc struct to chip-types.xml
- Add a location attribute to the Basic Information cluster
- [BUG] [Python] Read returns ReadResponse when subscription setup did not complete
- Address followup comments from https://github.com/project-chip/connectedhomeip/pull/33559
- [Feature] Add a metric when a ReadClient resubscribe is triggered.
- [Test Failed] TestAccessControlCluster.yaml is expecting wrong error on "too many subjects/targets" HOT 1
- [Documentation] Matter Linux Microwave Oven Example refers to Lighting app
- operate a light 32-bit.
- RVC Mode clusters: Remove Idle constraints.
- Write the test plan for Direct Mode Change feature HOT 1
- [Feature] Add Fabric RPC service to Fabric Admin
- [Feature] Add Fabric Bridge RPC service to Fabric Bridge
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from connectedhomeip.