Category:Log Files: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
1,155 bytes added ,  08:00, 24 January 2021
m
m (→‎TYPES: Make it clearer where links different for Cumulus 1 and MX)
Line 24: Line 24:




See individual articles for more details on such differences. '''Please note, the information for MX is taken from notes by Steve Loft, and applies to MX 3.0.0. Although, some updates have been made in line with release announcements by Mark, it is likely Mark has made other changes that affect the various log files that are not detailed in the release announcements, possibly making some content obsolete.'''  In particular '''internal''' changes mentioned in release announcements for versions 3.6.x, and 3.7.0, have made MX work significantly differently and you may find that log files created in earlier versions can no longer be read. In particular 3.7.0 is very fussy about symbols used to separate parts of dates, within times, and all must match the latest locale settings.
 
 
Cumulus MX also has some JSON files with data for its trends web page. See MX announcements for more details.
* Note that in MX 3.0.0 all file names are case-sensitive, please read documentation to see where capital letters are required in those file names. Be aware that wiki pages change first letter to a capital even when a file that must be all lower-case is being described.
 
=== Moving files from Cumulus 1 to MX===
Steve Loft designed MX so that in general it was able to read [[Moving_from_Cumulus_1_to_MX#Log_files|log files]] created by the original Cumulus.
 
See individual articles for more details on such differences.  
 
'''Please note, the information for MX is taken from notes by Steve Loft, and applies to MX 3.0.0. Although, some updates have been made in line with release announcements by Mark, it is likely Mark has made other changes that affect the various log files that are not detailed in the release announcements, possibly making some content obsolete.'''   
 
In particular '''internal''' changes mentioned in release announcements for versions 3.6.x, and 3.7.0, have made MX work significantly differently.
* If you move from Cumulus 1 to a version of MX  up to 3.5.y, the transfer is likely to be significantly easier. This is because Steve Loft was keen to keep forward compatibility.
** Cumulus 1 is tolerant of various separators for dates and times. Cumulus MX 3.0.0 insists all times use a colon separator (says Steve Loft), and all dates are in ISO format.
**However, MX 3.0.0 will read the date/time entries in the Cumulus 1 format, and it will only change them to the new format when it needs to update a particular entry (e.g. an extreme) in that particular file.  Consequently some files will have a different formats for the extremes that have existed for a while and for any new ones, meaning both formats will co-exist in those files.
* If you move from Cumulus 1 to a version of MX that is 3.6.z or higher, you may find that log files can no longer be read.  
**In particular 3.7.0 onwards releases are very fussy about symbols used to separate parts of dates, within times, and all must match the latest locale settings.
General points:
* Note that if you run MX on a UNIX based operating system (e.g. Linux or Raspberry Pi OS) all file names are case-sensitive, please read documentation to see where capital letters are required in those file names. Be aware that wiki pages change first letter to a capital even when a file that must be all lower-case is being described.
* Cumulus 1 is reasonably tolerant of numbers using a comma to separate the integer and decimal part of real number.  
* Cumulus 1 is reasonably tolerant of numbers using a comma to separate the integer and decimal part of real number.  
** MX 3.0.0 will accept both decimal commas and decimal full stops in the standard log files, the extra sensor log files, and the daily summary log file.
** MX 3.0.0 will accept both decimal commas and decimal full stops in the standard log files, the extra sensor log files, and the daily summary log file.
**MX always expects periods/full stops in .ini files regardless of the locale in use, please see the [https://cumulus.hosiene.co.uk/viewtopic.php?f=27&t=12908  Cumulus MX Announcements and Download - PLEASE READ FIRST] for details, but generally if you want to transfer these files from Cumulus 1 to MX, it is best if '''you edit them so all decimal numbers have a "." between the integer and decimal parts'''.
**In all versions of MX, the software expects periods/full stops in .ini files regardless of the locale in use, please see the [https://cumulus.hosiene.co.uk/viewtopic.php?f=27&t=12908  Cumulus MX Announcements and Download - PLEASE READ FIRST] for details, but generally if you want to transfer these files from Cumulus 1 to MX, it is best if '''you edit them so all decimal numbers have a "." between the integer and decimal parts'''.
* Cumulus 1 is tolerant of various separators for dates and times. Cumulus MX 3.0.0 insists all times use a colon separator (says Steve Loft), and all dates are in ISO format.
**However, MX 3.0.0 will read the date/time entries in the Cumulus 1 format, and it will only change them to the new format when it needs to update a particular entry (e.g. an extreme) in that particular file.  Consequently some files will have a different formats for the extremes that have existed for a while and for any new ones, meaning both formats will co-exist in those files.
* In individual articles, any differences in the precise content or format within individual files will be highlighted.
* In individual articles, any differences in the precise content or format within individual files will be highlighted.


Cumulus MX also has some JSON files with data for its trends web page. See MX announcements for more details.
===Moving Files from MX to Cumulus 1===
 
When Steve Loft designed Cumulus 1, he had no expectation that one day he would create MX, so log files are not [https://cumulus.hosiene.co.uk/viewtopic.php?f=4&t=15167 backwards compatible].
 
That said, there are some features in Cumulus 1 that are [[Moving_from_Cumulus_1_to_MX#Cumulus_1_features_not_ever_going_to_be_included_in_MX|missing in MX]], and there are Cumulus users who have migrated back either on a temporary basis (to use a missing feature before they return to MX) or in a very few cases decided to stay with Cumulus 1 (because they prefer it).
[[Category:Cumulus Files]]
[[Category:Cumulus Files]]
5,838

edits

Navigation menu