Debug.log

From Cumulus Wiki
Revision as of 17:15, 22 December 2012 by Mcrossley (talk | contribs)
Jump to navigationJump to search

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 Configuration menu within Cumulus and tick the 'Debug Log' menu option.

The file contains a wealth of data inlcuding 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 Format

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

It is located in the root of the Cumulus folder and can be deleted at any time as Cumuls 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:54Realtime FTP local file: C:\Program Files\Cumulus\realtime.txt
9168.766 : 14:23:54Realtime 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