#18 TAU_XML: In case of setting multiple values to level parameters in debug config of XML Configuration, only the first parameter value is effective in parseDebugConfiguration().
In the case that the level parameter in Debug Config is "eiwd", only "e" is set in debugConfig option.
For the info parameter also, the first parameter value is only set in debugConfig option.
The UM is corrected for debug level since internal TRDP_DBG_OPTION_T and XML description were not in line. For the level it makes no sense to give more than one parameter, the first one found will be taken.
Debug output level XML:
Blank, “” OR “ ” - turned off
D OR d - errors, warnings, information and debug
E OR e - errors
I OR i - errors, warnings and information
W OR w - errors and warnings
TRDP_DBG_OPTION_T:
0x01 TRDP_DBG_OFF Printout off
0x02 TRDP_DBG_ERR Printout only error messages
0x04 TRDP_DBG_WARN Printout only warning and error messages
0x08 TRDP_DBG_INFO Printout only info, warning and error messages
0x10 TRDP_DBG_DBG Printout debug, info, warning and error messages
For debug info code needs to be fixed. UM has been adapted (t,T not implemented, a to retrieve all info implemented)
Last edit: Armin-Hagen Weiss 2014-01-30
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The UM is corrected for debug level since internal TRDP_DBG_OPTION_T and XML description were not in line. For the level it makes no sense to give more than one parameter, the first one found will be taken.
Debug output level XML:
Blank, “” OR “ ” - turned off
D OR d - errors, warnings, information and debug
E OR e - errors
I OR i - errors, warnings and information
W OR w - errors and warnings
TRDP_DBG_OPTION_T:
0x01 TRDP_DBG_OFF Printout off
0x02 TRDP_DBG_ERR Printout only error messages
0x04 TRDP_DBG_WARN Printout only warning and error messages
0x08 TRDP_DBG_INFO Printout only info, warning and error messages
0x10 TRDP_DBG_DBG Printout debug, info, warning and error messages
For debug info code needs to be fixed. UM has been adapted (t,T not implemented, a to retrieve all info implemented)
Last edit: Armin-Hagen Weiss 2014-01-30
TAU_XML has been corrected to support multiple debug info codes (rev. #1158).