Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

relax enumeration logs #12785

Merged
merged 1 commit into from
Mar 22, 2024
Merged

Conversation

Nir-Az
Copy link
Collaborator

@Nir-Az Nir-Az commented Mar 21, 2024

No description provided.

@Nir-Az Nir-Az requested a review from maloel March 21, 2024 14:02
@@ -96,33 +96,33 @@ namespace librealsense
if(tokens.size() < 1 || (tokens[0] != R"(\\?\usb)" && tokens[0] != R"(\\?\hid)")) return false; // Not a USB device
if(tokens.size() < 3)
{
LOG_ERROR("malformed usb device path: " << name);
LOG_WARNING( "malformed usb device path: " << name );
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this warning rather than debug for all the rest?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No special reaon, this seems to be that first sanity check that the connect device is really a USB/HID device.
And normally we dont see it
So I changed to warning

@Nir-Az Nir-Az merged commit 55239bd into IntelRealSense:development Mar 22, 2024
17 checks passed
@Nir-Az Nir-Az deleted the remove-win-log branch September 30, 2024 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants