Nathan created a new topic ' How to log' in the forum. 4 months ago

I cannot for the life of me figure out what's going on. I've attempted to follow the Logging in INDI Drivers within the INDI Technical Documentation, which states to call addDebugControl() from within the initProperties(). However, after doing so, when I build the driver and attempt to run, any time I click on Enable Debug, in the INDI message status bar it states Debug is enabled and then immediately Debug is disabled. Now, after searching the forums, it appears logging is handled by Ekos. So does that mean addDebugControl() is no longer needed. When I click on Logs and whether I choose Verbose or Regular and Default or File, I'm not getting log files. Additionally when I was somehow able to create log files, even when set on Verbose, I wasn't seeing the LOGF_DEBUG being written to the file.

Can someone please explain what the right steps are? How do I reliably enable logging?

Thanks,
Nathan

Read More...