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

z2m plugin debug bug #35

Open
copystring opened this issue Jun 25, 2024 · 4 comments
Open

z2m plugin debug bug #35

copystring opened this issue Jun 25, 2024 · 4 comments

Comments

@copystring
Copy link

For the debug:
- the frontend log has his own system and display only matterbridge and plugins:

  • in the Log page you can not only select the level but also add a search string. The selection there is persisted between session and applies only to Log page.
    image
  • the small log in the Home page shows always everything.

- the console log displays the matterbridge and matter.js log with the level you select here or from the command line:
image
- the console log also displays the plugin log with or without debug depending on this:
image

Originally posted by @Luligu in #33 (comment)

Please take a look at this video and let me know if the debug messages in the home tab are intended.

2024-06-25.22-58-43.mp4
@copystring
Copy link
Author

  • the small log in the Home page shows always everything.

This behavior is very confusing. As you know, I have a lot of devices and the little log shows way too many messages, making it hard to read with all those debug messages I don't need.

From a user experience, there are way too many ways to enable/disable debug logs.

If you ask me, one log type should be globally selected and then one for each plugin. Everything else is too much.

@copystring
Copy link
Author

Try this video because the upload to GitHub did not work.
https://youtu.be/vJrLQ3LRnrI

@Luligu
Copy link
Owner

Luligu commented Jun 26, 2024

What would you like to have and not to have?
What would you like to change?

@copystring
Copy link
Author

copystring commented Jun 27, 2024

One option to globally change the log type and one option to enable/disable debug for each plugin should be enough.
I think this could best be done in the settings tab of matterbridge or in the log tab, but not both, or at the least make the two settings synchronized. Having it in both tabs is what I think is confusing.

Another thing that confused me is the log in the home tab shows different content than the log in the log tab. How would any user know this is the expected behavior? The log in the home tab does not have much room and sometimes the debug messages use up a lot of room making it hard to follow. See my example below.
Maybe make the log area taller if a user really wants debug messages in the home tab.

image

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

No branches or pull requests

2 participants