Skip to content

Fix: remove duplicated square brackets from VE.Direct log messages #2132

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

Merged
merged 1 commit into from
Jul 22, 2025

Conversation

schlimmchen
Copy link
Member

Was:

D (87704) veDirect: [[MPPT 10/9]] Text Data 'FW' = '164'

Now:

D (87704) veDirect: [MPPT 10/9] Text Data 'FW' = '164'

That's because the SUBTAG is already enclosed in square brackets.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a logging format issue in the VeDirectFrameHandler where log messages were displaying double square brackets around device identifiers. The fix removes the extra square brackets from the log ID format string since the SUBTAG is already enclosed in brackets.

  • Removed redundant square brackets from the _logId format string in the initialization method

Copy link

Build Artifacts

Firmware built from this pull request's code:

Notice

  • These artifacts are ZIP files containing the factory update binary as well as the OTA update binary.
    Extract the binaries from the ZIP files first. Do not use the ZIP files themselves to perform an update.
  • These links point to artifacts of the latest successful build run.
  • The linked artifacts were built from 9fc9d54.

@schlimmchen schlimmchen merged commit 48a86cb into development Jul 22, 2025
17 checks passed
@schlimmchen schlimmchen deleted the schlimmchen/fix/vedirect-logging-subtag branch July 22, 2025 20:11
@schlimmchen schlimmchen removed the request for review from AndreasBoehm July 22, 2025 20:11
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.

1 participant