Monthly log files: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
1,789 bytes removed ,  10:34, 31 May 2020
m
Line 93: Line 93:


   
   
== Editing the log file ==
=== Editing in Cumulus MX ===
This changes between versions and the text that was here has been removed.
=== Editing for Cumulus 1 users ===
Cumulus 1 allows you to view any monthly log file, but not to edit the contents. Consequently for Cumulus 1, you need to edit monthly log files outside Cumulus 1, subject to the following rules:
* You can't edit the current log file while Cumulus 1 is running, because Cumulus needs exclusive write access. You can edit the log file for a past month, unless you are looking at past months using Cumulus  editors.
* You can't edit any log file with a word processor, as they add control characters and other information that Cumulus cannot understand.
* You can use either a specialised comma separated value file editor or a text editor.
* Text editors designed for programmers will allow you to select the encoding (Cumulus will be confused by any Byte Order Mark, so select the encoding type without BOM).
* If you choose to use a spreadsheet, ensure that all columns are treated as normal text, do not let (don't accept Excel default) the spreadsheet recognise the first field contains a date as it will convert that column into a number (e.g. days since 1900 or days since 1970). For example in Libre Office make sure that "Detect special numbers" is not selected.  Many spreadsheets will offer a CSV option for saving the file (in Libre Office tick "Edit Filter Settings" on "save as ...").
* If you amend a field, ensure that replacement is same format as original (same decimal separator if not integer).
* Ensure no blank lines, and if you have added in the column headings then remove that heading line when saving ready for Cumulus.
You can see [[#Manipulation outside Cumulus]] below for more information.




5,838

edits

Navigation menu