Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Debug logging

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
Cortmalaw
Posts: 92
Joined: Sat 26 Dec 2020 2:21 pm
Weather Station: Davis
Operating System: Raspbian
Location: Near Glasgow, Scotland, UK

Debug logging

Post by Cortmalaw »

I wanted to turn on debug logging. To find out how, I looked in the Wiki. I fixed the link there to refer to the new updated Settings / Program settings menu.

I let Cumulus continue for a while, then looked for the file. But I can't find it. According to the Wiki, it should be called Debug.log in the CumulusMX root directory.
But it isn't there. Indeed, it doesn't seem to be anywhere on my system:

Code: Select all

pi@SSD:/opt/CumulusMX $ sudo find / -name "*.log"
/var/log/dpkg.log
/var/log/mail.log
/var/log/daemon.log
/var/log/apache2/error.log
/var/log/apache2/access.log
/var/log/apache2/other_vhosts_access.log
/var/log/user.log
/var/log/fontconfig.log
/var/log/auth.log
/var/log/kern.log
/var/log/bootstrap.log
/var/log/boot.log
/var/log/apt/term.log
/var/log/apt/history.log
/var/log/mosquitto/mosquitto.log
/var/log/alternatives.log
/usr/share/doc/python3.7/pybench.log
The settings page says the switch only turns Debug logging on for the current session, but I tried a restart and that didn't make a file either

What am I doing wrong? or is something broken?
water01
Posts: 3244
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Debug logging

Post by water01 »

In CumulusMX the logging files are in the MXDiags directory and are in date order with a .txt extension.

I think you must have been looking at the old Cumulus 1 part of the documentation.
David
Image
Cortmalaw
Posts: 92
Joined: Sat 26 Dec 2020 2:21 pm
Weather Station: Davis
Operating System: Raspbian
Location: Near Glasgow, Scotland, UK

Re: Debug logging

Post by Cortmalaw »

Thanks, got it!

The Wiki page does not say whether it is for Cumulus 1 or CumulusMX. I updated it to cover both.
Post Reply