Describe the feature
I think verbosity of logs should be customizable.
There can be other parameters (alternate resources to get IP from/retry interval), but this is applicable for my use-case.
The main .py file should import the values from a file from some directory inside the container, say /etc/porkbun-ddns/config.yml inside the container, and we should map this to an external file config.yml in docker compose. OR we can simply use the docker-compose.yml file.
Use case
Right now the log is set to maximum verbosity, which can be the default. But I want it to be set to only WARN and ERROR so that the number of writes can be reduced on my Pi SD card.
Alternatives considered
No response
Describe the feature
I think verbosity of logs should be customizable.
There can be other parameters (alternate resources to get IP from/retry interval), but this is applicable for my use-case.
The main
.pyfile should import the values from a file from some directory inside the container, say/etc/porkbun-ddns/config.ymlinside the container, and we should map this to an external file config.yml indocker compose. OR we can simply use thedocker-compose.ymlfile.Use case
Right now the log is set to maximum verbosity, which can be the default. But I want it to be set to only
WARNandERRORso that the number of writes can be reduced on my Pi SD card.Alternatives considered
No response