Skip to content

fix: log Enode charger count at debug level instead of info#131

Merged
Veldkornet merged 1 commit into
HiDiHo01:mainfrom
Veldkornet:fix/enode-chargers-log-level
Jul 21, 2026
Merged

fix: log Enode charger count at debug level instead of info#131
Veldkornet merged 1 commit into
HiDiHo01:mainfrom
Veldkornet:fix/enode-chargers-log-level

Conversation

@Veldkornet

@Veldkornet Veldkornet commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • The Enode charger count ("%s Enode Chargers Found") was logged at info level, but this fires on every poll — it's routine, expected output, not something a user needs surfaced by default.
  • Dropped it to debug, consistent with the surrounding charger-fetch logging (the following line, "Enode Chargers data: %s", was already debug).

Test plan

  • No behavior change — logging level only.

Samenvatting door Sourcery

Verbeteringen:

  • Log het aantal Enode-laadstations op debugniveau in plaats van infoniveau om het in lijn te brengen met de omliggende logging voor het ophalen van laadstations.
Original summary in English

Summary by Sourcery

Enhancements:

  • Log the Enode charger count at debug level instead of info to align with surrounding charger fetch logging.

This fires on every poll, so at info level it spams the log with a
routine count instead of something a user needs to see by default.
@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@Veldkornet, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 58 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: ce6432d5-ade1-45ea-8162-a58235a73326

📥 Commits

Reviewing files that changed from the base of the PR and between 3eec181 and a47df9f.

📒 Files selected for processing (1)
  • python_frank_energie/frank_energie.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sourcery-ai

sourcery-ai Bot commented Jul 21, 2026

Copy link
Copy Markdown
Handleiding voor reviewers (ingeklapt bij kleine PR's)

Handleiding voor reviewers

Verlaag het logniveau van routinematige Enode-laadpaaltelling van info naar debug om standaardlogs minder ruiserig te maken, terwijl gedetailleerde informatie over het ophalen van laadpalen beschikbaar blijft op debugniveau.

Wijzigingen op bestandsniveau

Wijziging Details Bestanden
Pas de Enode-logging van het aantal laadpalen aan zodat het debugniveau gebruikt wordt in plaats van info voor routinematige poll-uitvoer.
  • Wijzig de logregel die het aantal gevonden Enode-laadpalen rapporteert van info-niveau naar debug-niveau om aan te sluiten bij de omliggende logs voor het ophalen van laadpalen.
  • Laat de bestaande debuglog van de volledige Enode-laadpaaldata ongewijzigd om gedetailleerde diagnostiek op debugniveau te behouden.
python_frank_energie/frank_energie.py

Tips en commando's

Interactie met Sourcery

  • Een nieuwe review starten: Plaats de reactie @sourcery-ai review op de pull request.
  • Discussies voortzetten: Reageer direct op de reviewcommentaren van Sourcery.
  • Een GitHub-issue genereren vanuit een reviewcommentaar: Vraag Sourcery om een
    issue aan te maken vanuit een reviewcommentaar door erop te antwoorden. Je kunt ook
    op een reviewcommentaar reageren met @sourcery-ai issue om er een issue van te maken.
  • Een pull-requesttitel genereren: Schrijf @sourcery-ai ergens in de
    titel van de pull request om op elk moment een titel te genereren. Je kunt ook
    @sourcery-ai title op de pull request reageren om de titel op elk moment (opnieuw) te genereren.
  • Een samenvatting van de pull request genereren: Schrijf @sourcery-ai summary ergens in
    de pull request body om op elk moment een PR-samenvatting te genereren, precies waar je die wilt hebben.
    Je kunt ook @sourcery-ai summary op de pull request reageren om de samenvatting op elk moment (opnieuw) te genereren.
  • Handleiding voor reviewers genereren: Reageer met @sourcery-ai guide op de pull
    request om de handleiding voor reviewers op elk moment (opnieuw) te genereren.
  • Alle Sourcery-commentaren oplossen: Reageer met @sourcery-ai resolve op de
    pull request om alle Sourcery-commentaren als opgelost te markeren. Handig als je alle
    opmerkingen al hebt verwerkt en ze niet meer wilt zien.
  • Alle Sourcery-reviews negeren: Reageer met @sourcery-ai dismiss op de
    pull request om alle bestaande Sourcery-reviews te negeren. Vooral handig als je
    helemaal opnieuw wilt beginnen met een nieuwe review – vergeet niet om
    @sourcery-ai review te plaatsen om een nieuwe review te starten!

Je ervaring aanpassen

Ga naar je dashboard om:

  • Reviewfuncties zoals de door Sourcery gegenereerde pull-requestsamenvatting,
    de handleiding voor reviewers en andere functies in of uit te schakelen.
  • De reviewtaal te wijzigen.
  • Aangepaste reviewinstructies toe te voegen, verwijderen of bewerken.
  • Andere reviewinstellingen aan te passen.

Hulp krijgen

Original review guide in English
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Lower the log level of routine Enode charger count messages from info to debug to avoid noisy default logs while keeping detailed charger fetch information available at debug level.

File-Level Changes

Change Details Files
Adjust Enode charger count logging to use debug level instead of info for routine poll output.
  • Change the log statement that reports the number of Enode chargers found from info level to debug level to match surrounding charger-fetch logs.
  • Keep the existing debug log of the full Enode chargers data unchanged to maintain detailed diagnostics at debug level.
python_frank_energie/frank_energie.py

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sonarqubecloud

Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey - ik heb je wijzigingen bekeken en ze zien er geweldig uit!


Sourcery is gratis voor open source - als je onze reviews waardeert, overweeg dan om ze te delen ✨
Help me om nuttiger te zijn! Klik alsjeblieft op 👍 of 👎 bij elke reactie en ik zal de feedback gebruiken om je reviews te verbeteren.
Original comment in English

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@Veldkornet
Veldkornet merged commit 2d06117 into HiDiHo01:main Jul 21, 2026
7 checks passed
@Veldkornet
Veldkornet deleted the fix/enode-chargers-log-level branch July 21, 2026 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant