cleanup

* switch to using SP_TU_MSG and CQ_TU_MSG instead of hardcoded value
* fix 'parse_logcfg()'