Debug.log: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
145 bytes removed ,  24 January 2021
m
== File growth and deletion ==
 
A new file is created each time Cumulus is restarted, after deleting the oldest and renaming the other old files to maintain the naming sequence. If debugging is switched off, periodically a message, confirming that as shown earlier, is added to the '''debug.log''' file, so it grows in size even when full diagnostics are not being stored.
 
If debugging is switched on, extensive messages of the format shown are added to the file and it will rapidly grow in size.
Entries are added to the '''cumulus.~og''' file while Cumulus is left running, regardless of whether debugging is on or off (see example above).
 
To avoid loss (or inaccuracy) of readings being processed from your weather station, it is best if Cumulus is left running, and not restarted except when unavoidable. Consequently, the current'''debug.log''' diagnostic filesfile will continually grow in size. If the file is left to grow too large, Cumulus will crash. Therefore, you may'''should''' wantdelete tothis deletefile theseperiodically files.
 
Any diagnostic file can be deleted, at any time, as Cumulus does not read from them. Cumulus creates a new file if necessary to continue its logging.
 
==Sample File for Cumulus 1==
5,838

edits

Navigation menu