Skip to content

Commit

Permalink
Update log level for successful avahi resolve and file rename (#25073)
Browse files Browse the repository at this point in the history
  • Loading branch information
samadDotDev authored and pull[bot] committed Jul 12, 2023
1 parent 9b9e1ae commit 9398141
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/platform/Linux/CHIPLinuxStorageIni.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ CHIP_ERROR ChipLinuxStorageIni::CommitConfig(const std::string & configFile)

if (rename(tmpPath.c_str(), configFile.c_str()) == 0)
{
ChipLogError(DeviceLayer, "renamed tmp file to file (%s)", configFile.c_str());
ChipLogProgress(DeviceLayer, "renamed tmp file to file (%s)", configFile.c_str());
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion src/platform/Linux/DnssdImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ void MdnsAvahi::HandleResolve(AvahiServiceResolver * resolver, AvahiIfIndex inte
case AVAHI_RESOLVER_FOUND:
DnssdService result = {};

ChipLogError(DeviceLayer, "Avahi resolve found");
ChipLogProgress(DeviceLayer, "Avahi resolve found");

Platform::CopyString(result.mName, name);
CopyTypeWithoutProtocol(result.mType, type);
Expand Down
2 changes: 1 addition & 1 deletion src/platform/webos/CHIPWebOSStorageIni.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ CHIP_ERROR ChipLinuxStorageIni::CommitConfig(const std::string & configFile)

if (rename(tmpPath.c_str(), configFile.c_str()) == 0)
{
ChipLogError(DeviceLayer, "renamed tmp file to file (%s)", configFile.c_str());
ChipLogProgress(DeviceLayer, "renamed tmp file to file (%s)", configFile.c_str());
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion src/platform/webos/DnssdImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ void MdnsAvahi::HandleResolve(AvahiServiceResolver * resolver, AvahiIfIndex inte
DnssdService result = {};

result.mAddress.SetValue(chip::Inet::IPAddress());
ChipLogError(DeviceLayer, "Avahi resolve found");
ChipLogProgress(DeviceLayer, "Avahi resolve found");

Platform::CopyString(result.mName, name);
CopyTypeWithoutProtocol(result.mType, type);
Expand Down

0 comments on commit 9398141

Please sign in to comment.