Symetrie hexapod V1 - issue with debug communication (socket)
- lslog doesn't show any logger associated with the socket comm
RHHEXA [5]: wa() <--- used for initializate the controller
RHHEXA [6]: debugon(shexa1)
Setting global.controllers.shexa1.rhx to show debug messages
Setting global.controllers.shexa1.thx to show debug messages
Setting global.controllers.shexa1.HexapodProtocolV1 to show debug messages
Setting global.controllers.shexa1 to show debug messages
Setting global.controllers.shexa1.thy to show debug messages
Setting global.controllers.shexa1.rhy to show debug messages
Setting global.controllers.shexa1.thz to show debug messages
Setting global.controllers.shexa1.rhz to show debug messages
RHHEXA [10]: lslog()
logger name level
=========================================== ========
bliss WARNING
bliss.common.mapping WARNING
bliss.config.settings WARNING
bliss.logbook_print INFO
bliss.scanning.scan_saving WARNING
bliss.scans WARNING
bliss.shell WARNING
bliss.shell.cli.repl WARNING
bliss.shell.standard WARNING
flint WARNING
flint.output INFO [DISABLED]
global WARNING
global.controllers WARNING
global.controllers.shexa1 DEBUG
global.controllers.shexa1.HexapodProtocolV1 DEBUG
global.controllers.shexa1.rhx DEBUG
global.controllers.shexa1.rhy DEBUG
global.controllers.shexa1.rhz DEBUG
global.controllers.shexa1.thx DEBUG
global.controllers.shexa1.thy DEBUG
global.controllers.shexa1.thz DEBUG
- tricky way to enable the comm debug:
RHHEXA [8]: debugon('*Sock*')
Setting Socket[hexsymid011:1025] to show debug messages
RHHEXA [9]: wa() <--- DEBUG OK
DEBUG 2020-03-30 18:59:45,706 Socket[hexsymid011:1025]: write bytes=14 b'@\xbf\x00\x00\x00\x00\x00\x06&2 Q36'
RHHEXA [11]: lsdebug() <--- socket doesn't appears
logger name level
=========================================== ========
global.controllers.shexa1 DEBUG
global.controllers.shexa1.HexapodProtocolV1 DEBUG
global.controllers.shexa1.rhx DEBUG
global.controllers.shexa1.rhy DEBUG
global.controllers.shexa1.rhz DEBUG
global.controllers.shexa1.thx DEBUG
global.controllers.shexa1.thy DEBUG
global.controllers.shexa1.thz DEBUG
- this way is only valid after initialization of the controller in the session
RHHEXA [1]: debugon('*Sock*')
NO loggers found for [*Sock*] <--- NO
RHHEXA [2]: wa() <--- initialization
RHHEXA [3]: debugon('*Sock*')
Setting Socket[hexsymid011:1025] to show debug messages <--- OK