lysmarine / lysmarine_gen

Lysmarine is build with the stability of the raspbian operating system to provide an easy to use, stable, low-cost navigation computer for boats.
http://lysmarineos.com
20 stars 65 forks source link

Pypilot writes excessive log in /var/log/daemons.* #97

Open mgrouch opened 3 years ago

mgrouch commented 3 years ago

Pypilot writes excessive log in /var/log/daemons.* Repeatedly reporting same condition

FredericGuilbault commented 3 years ago

yeah...... the non-stop logs emitting problem should be addressed at https://github.com/pypilot/pypilot/issues

As for what we do with this, it's probably possible to send them to /dev/null from the .service file instead of writing them on the disk.

FredericGuilbault commented 3 years ago

https://github.com/pypilot/pypilot/issues/69

FredericGuilbault commented 3 years ago

We could > /dev/null all that crap strait from the .service file but that would be bad practice as that would set us blind in case of real issue....

mgrouch commented 3 years ago

Seems not even pypilot issue but rather underlying library used by it

FredericGuilbault commented 3 years ago

it's out of my personal scope to dig too much in pypilot code but, One of my guess is that rtimulib2 keep sending logs cuz pypilot keep calling it. The other point is that it would be pypilot job to send rtimulib2 spam to /dev/null. Cuz at our level, if we do it. it;s everything pypilot produce that goes to the void.

but yeah, if pypilot do not call rtimulib2 on a infinite loop. The issue should be transferred to rtimulib2 project.

Now the question that concern lysmarine here, is what we do with these logs ?