ateodorescu / home-assistant-addons

ipmi-server addon for Home Assistant
MIT License
11 stars 8 forks source link

log get flooded with errors #9

Closed corgan2222 closed 6 months ago

corgan2222 commented 6 months ago

Hello,

On one of my servers, the ipmi command gets a lot of errors. Despite this, I get the information I want, so the ipmi request works for some data.

But on each request I get these nasty error messages. Is there a way to ignore these messages? Normally I would ignore this, but I send the logs to Loki and this mess up the log statistics. I tried to set the loglevel to fatal, but this did not help.

grafik

some data: grafik

thanks, greetz STefan

ateodorescu commented 6 months ago

Hi!

In the addon configuration did you try to change the log level? Screenshot 2024-02-26 at 10 46 10

Does it work?

Adrian

corgan2222 commented 6 months ago

I tried to set the loglevel to fatal, but this did not help.

I think the Problem is, that IPMI got an Error, but I can't set the log_level too none to ignore the error.

ateodorescu commented 6 months ago

I'm sorry but for now I can't do anything. Don't have the time to investigate this.

corgan2222 commented 6 months ago

Ok, despite this, thanks for the answer. Will investigate this, maybe I can PR a fix. greetz Stefan

ateodorescu commented 6 months ago

This is fixed in the latest version of the addon.