Manual Debug Marker in GUI with Incremental ID for easier troubleshooting
Description: To improve the debugging process and make it more accessible for non-technical users, I propose adding a "Manual Log Marker" feature to the Web-UI.
The Concept:
- GUI-only Setup: The marker button can be enabled via the "Settings" menu (e.g., under an "Experimentell" toggle) to keep the main interface clean for everyday use.
- Incremental ID: When clicking the button, the UI generates a unique, incremental ID (e.g., "Marker 123"). This ID is displayed immediately in the UI as a confirmation.
- Log Integration: evcc writes a high-visibility entry into the backend log: [mkr ] INFO: --- USER MARKER 123 ---
Benefits for Users (especially non-developers):
- Lower Barrier to Entry: It is much easier for a user to report: "The error occurred between Marker 123 and 124" rather than trying to copy-paste exact timestamps or grep through logs.
- Instant Feedback: The user gets visual confirmation that their observation has been "pinned" in the system log.
Benefits for Developers:
- Precise Anchors: In high-traffic trace logs, these markers act as clear anchor points. You can skip directly to the relevant section without guessing the time offset between the UI and the server.
- Better Bug Reports: Reports will become much more structured, as users can correlate specific UI behaviors with specific Marker IDs.
Havent seen this kind of feature in any other tool yet. Do you have another implementation for reference?
The marker is the timestamp. It's sufficient for debugging if users can identify from-to. I don't see need to add anything else (wontfix). For cross-system log correlation see https://github.com/evcc-io/evcc/pull/25862.
Havent seen this kind of feature in any other tool yet. Do you have another implementation for reference?
I've seen this practice successfully used in the automotive industry to streamline debugging. Testers provide a step-by-step list of their actions, each correlated with a specific marker ID in the log.
Bringing this concept to evcc would be a huge step in making the project more accessible. Especially for 'normal' users who aren't developers, it should be as easy as possible to report an issue. Instead of struggling with timestamps or SSH, they can simply say: 'The problem happened at Marker 123'. This lowers the barrier for high-quality community feedback and helps developers find the 'needle in the haystack' much faster.
The marker is the timestamp. It's sufficient for debugging if users can identify from-to. I don't see need to add anything else (wontfix). For cross-system log correlation see #25862.
While I personally believe this would be a very useful addition for both users and developers, I completely respect your roadmap. If you feel this doesn't fit the current development goals, I'm okay with that—I just wanted to propose it as a significant improvement for the debugging workflow.
Sorry, I closed/completed this issue by mistake.