Page 1 of 1

Debug logging

Posted: Tue 12 Jan 2021 4:56 pm
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?

Re: Debug logging

Posted: Tue 12 Jan 2021 5:10 pm
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.

Re: Debug logging

Posted: Tue 12 Jan 2021 6:11 pm
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.