Debug.log: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m (Update menu link. Typos.)
Line 9: Line 9:




=File Format=
=File Location, Name and Format=


The debug.log file is a simple text file containing the time and a description of each event.  
In Cumulus 1, the file is called Debug.log, and is located in the root of the Cumulus folder.


It is located in the root of the Cumulus folder and can be deleted at any time as Cumulus does not read from it.
In CumulusMX, debug logging adds additional detail into the standard logging file. This is located in folder MXdiags within the Cumulus root directory. It is a text (*.txt) file named by the date and time that the CumulusMX session began, for example: 20210112-171450.txt
 
The log file is a simple text file containing the time and a description of each event.
 
The file can be deleted at any time as Cumulus does not read from it.


=Sample File=
=Sample File=

Revision as of 18:03, 12 January 2021

The debug.log file is extremely useful in troubleshooting problems with Cumulus and/or connectivity to your weather station.

By default this is not enabled, but can be turned on and off as required. Click on the Settings / Program settings menu within Cumulus and tick the 'Debug Logging' menu option.

The file contains a wealth of data including the raw data received from your weather station, connectivity attempts, file uploads, etc.


Note: the file can grow very large very quickly so turn the Debug Log option off it not required. If the file grows too large it can cause Cumulus to crash.


File Location, Name and Format

In Cumulus 1, the file is called Debug.log, and is located in the root of the Cumulus folder.

In CumulusMX, debug logging adds additional detail into the standard logging file. This is located in folder MXdiags within the Cumulus root directory. It is a text (*.txt) file named by the date and time that the CumulusMX session began, for example: 20210112-171450.txt

The log file is a simple text file containing the time and a description of each event.

The file can be deleted at any time as Cumulus does not read from it.

Sample File

An extract from a debug.log file

9168.735 : 14:23:54 Realtime FTP Put attempt
9168.766 : 14:23:54 Realtime FTP local file: C:\Program Files\Cumulus\realtime.txt
9168.766 : 14:23:54 Realtime FTP remote file: /var/www/html/data/realtime.txt
9173.500 : 14:23:59 USB device is plugged in
9173.500 : 14:23:59 request EW data block, written = 9, addr = 000000 
9173.516 : 14:23:59 EW data line 01  55 AA FF FF FF FF FF FF 
9173.516 : 14:23:59 EW data line 02  FF FF FF FF FF FF FF FF 
9173.531 : 14:23:59 EW data line 03  0A 20 08 25 11 00 00 00 
9173.531 : 14:23:59 EW data line 04  81 00 00 F0 0F 00 10 DD 
9173.531 : 14:23:59 USB device is plugged in
9173.547 : 14:23:59 request EW data block, written = 9, addr = 00DD10 
9173.563 : 14:23:59 EW data line 05  00 3A BF 00 47 97 00 FD 
9173.578 : 14:23:59 EW data line 06  25 00 03 00 0B 0C 08 00 
9173.578 : 14:23:59 Data: 00 3A BF 00 47 97 00 FD 25 00 03 00 0B 0C 08 00 
9173.578 : 14:23:59 EW data line 07  0A 2D D5 00 55 57 00 16 
9173.594 : 14:23:59 EW data line 08  26 00 00 00 06 65 07 00 
9175.328 : 27/08/2009 14:24:00 Minute timer 24
9175.328 : Adding LH entry, ts = 14:24:00 raintot = 618
9175.328 : TD = 0.0833333358168602 Lastval = 618 Firstval = 618 rate = 0