Cumulus log file format on Raspberry Pi
Posted: Sun 25 Aug 2019 4:29 pm
I run Cumulus MX on a RPI where it creates text files in the unix style (line endings just LF).
I have a Windows PC which wakes up periodically to run WXSIM. It copies the latest log file from the RPI and uses it in making a weather forecast. This part runs fine (wxsimate is happy with the unix style files).
Once a day the PC wakes up and copies the latest log file to use during wxsim's autolearn utility. Autolearn doesn't like the unix style files so I have knocked up a little utility to convert the files to windows style line endings.
All is happiness and light...
...except. I would really like the files to be in Windows style so that if the Pi were ever to fail and I needed to get Cumulus MX up and running, the files would be already in Windows style in the external backup I have going on.
Is there any way that Cumulus MX, running under mono on the Pi can be convinced to write its log files in Windows CRLF line ending format - does anyone know?
I have a Windows PC which wakes up periodically to run WXSIM. It copies the latest log file from the RPI and uses it in making a weather forecast. This part runs fine (wxsimate is happy with the unix style files).
Once a day the PC wakes up and copies the latest log file to use during wxsim's autolearn utility. Autolearn doesn't like the unix style files so I have knocked up a little utility to convert the files to windows style line endings.
All is happiness and light...
...except. I would really like the files to be in Windows style so that if the Pi were ever to fail and I needed to get Cumulus MX up and running, the files would be already in Windows style in the external backup I have going on.
Is there any way that Cumulus MX, running under mono on the Pi can be convinced to write its log files in Windows CRLF line ending format - does anyone know?