DDorch / ScadaSupAgro

Client/Server applications for SCADA system installed at SupAgro Montpellier
GNU General Public License v3.0
0 stars 1 forks source link

Crash of scada logger or scada gateway #9

Closed DDorch closed 6 years ago

DDorch commented 6 years ago

The communication with the IoT plateform has been stopped suddenly this morning at 7:00 am:

image

I suppose there's something related to a cron daily job and especially logrotate. That's need to be check.

DDorch commented 6 years ago

Maybe logs should be managed by the logging python module instead of a linux pipe with the WatchedFileHandler in order to avoid any kind of issue related to log files.

https://docs.python.org/3/library/logging.handlers.html#watchedfilehandler

DDorch commented 6 years ago

I don't know what failed. The processes were still running. There was data recorded by scada_logger but the gateway didn't send any data to the IoT plateform and there was no error messages...