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

How to completely disable any logging for Remote Datalogger ? #2055

Open
4 tasks done
nero355 opened this issue Mar 12, 2025 · 0 comments
Open
4 tasks done

How to completely disable any logging for Remote Datalogger ? #2055

nero355 opened this issue Mar 12, 2025 · 0 comments

Comments

@nero355
Copy link

nero355 commented Mar 12, 2025

Language / Voertaal

🇳🇱 Nederlandstalig

Help yourself

Inquiry

Help with installation or upgrade

Description

First of all :

Thank you for creating this totally AWESOME!!! piece of software 👍🏻 👍🏻 👍🏻 👍🏻 👍🏻

But I need a bit of help :

Is it possible to disable ALL logging for the Remote Datalogger : https://dsmr-reader.readthedocs.io/en/v5/how-to/installation/remote-datalogger.html#supervisor
So basically this piece of code/config file : /etc/supervisor/conf.d/dsmr_remote_datalogger.conf

Which contains :
stdout_logfile=/var/log/supervisor/%(program_name)s.log
stdout_logfile_maxbytes=10MB
stdout_logfile_backups=3
I have tried setting it to 1MB and 1 file but it seems it then just overwrites itself ?!

Can I completely remove the stdout_log lines to avoid any logging ?

The reason I am asking this :
I want to avoid "damage" to the microSDXC card in the Raspberry Pi 3B that servers as the Remote Datalogger whenever I reboot the actual DSMR Server or whenever I am upgrading/changing things on my network devices 😬

DSMR-reader version

5.11

DSMR-reader platform

Native (e.g. manual installation)

Optional: Debug info dump (of DSMR-reader)

Optional: Smart meter telegram

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

1 participant