×
INDI Library v1.8.5 Released (19 Apr 2020)

April 2020 release of INDI Library v1.8.5 introduces new drivers while providing fixes and improvements to existing devices and core framework.

Divers in Other Languages - Question about Logging

3 months 2 weeks ago
rickbassham
Fresh Boarder
Fresh Boarder
Posts: 18
More
Topic Author
Divers in Other Languages - Question about Logging #51005
I'm in the process of writing a framework to allow writing drivers in Golang. The framework I'm writing doesn't have any dependencies on the indi libraries, it just communicates over stdin and stdout via the xml messages defined. I've managed to get most functionality working, with the exception of logging. I've found that when I send a
<message device="" message="test" />
from the driver it creates a popup when using the Device Manager in KStars. But I can't get any log messages to show in the text output at the bottom of the device screen. What is the correct way to get log messages to show there? Do I need to have certain properties enabled on my device in the driver to make it work? I'm not looking for Any help would be appreciated as I dig into this.

Thanks for the great software!

Gayle H Riggsbee Observatory
Charlotte Amateur Astronomers Club

CGX
AT72EDII w/Homemade Moonlite Compatible Arduino Focuser
AT8RC w/Moonlite CSL 2.5" w/Moonlite Stepper v3
ZWO ASI1600MC-Pro
ZWO ASI1600MM-Pro
ZWO ASI174MM-Mini
ZWO OAG
ZWO EFW
AT2FF

Please Log in or Create an account to join the conversation.

3 months 2 weeks ago
rickbassham
Fresh Boarder
Fresh Boarder
Posts: 18
More
Topic Author
Divers in Other Languages - Question about Logging #51006
I'm seeing the same when I specify the device name in the device attribute as well.

Gayle H Riggsbee Observatory
Charlotte Amateur Astronomers Club

CGX
AT72EDII w/Homemade Moonlite Compatible Arduino Focuser
AT8RC w/Moonlite CSL 2.5" w/Moonlite Stepper v3
ZWO ASI1600MC-Pro
ZWO ASI1600MM-Pro
ZWO ASI174MM-Mini
ZWO OAG
ZWO EFW
AT2FF

Please Log in or Create an account to join the conversation.

3 months 2 weeks ago
rickbassham
Fresh Boarder
Fresh Boarder
Posts: 18
More
Topic Author
Divers in Other Languages - Question about Logging #51008
Ok, never mind. It seems to be working fine now when I specify the device name. Not sure what I was doing wrong before, but it works.

Gayle H Riggsbee Observatory
Charlotte Amateur Astronomers Club

CGX
AT72EDII w/Homemade Moonlite Compatible Arduino Focuser
AT8RC w/Moonlite CSL 2.5" w/Moonlite Stepper v3
ZWO ASI1600MC-Pro
ZWO ASI1600MM-Pro
ZWO ASI174MM-Mini
ZWO OAG
ZWO EFW
AT2FF
The following user(s) said Thank You TallFurryMan

Please Log in or Create an account to join the conversation.

Time to create page: 0.477 seconds