Describe the bug
If you specify components.zss.logLevels._zss.httpserver: 5 then you get dozens of lines,
tokenEnd=8
tokenEnd=9
....
tokenEnd=956
tokenEnd=957
(or however long your token is)
Looks to me like this line should be moved OUTSIDE the loop!
hit ZSS with some web requests using token authentication
Expected behavior
Only one line of tokenEnd, however long the token is.
Logs
see snippet above
Describe your environment
Zowe version number (Check the Desktop login screen, or manifest.json in the Zowe install folder): 2.15.0
Install method (pax, smpe, kubernetes, github clone): either pax or smpe
Operating system (z/OS, kubernetes, etc) and OS version: z/OS 3.1
Node.js version number (Shown in logs, or via node --version): N/A
Java version number (Shown in logs, or via java -version): N/A
z/OSMF version: N/A
What is the output of log message ZWES1014I:
ZWES1014I ZIS status - 'Ok' (name='IZPS055 ', cmsRC='0', description='Ok', clientVersion='2')
Environment variables in use: N/A
Additional context
Had occasion to enable this debug. If your token is short it's not too bad (e.g. token 40 chars) but some of the tokens are really long if they come from APIML.
Describe the bug If you specify components.zss.logLevels._zss.httpserver: 5 then you get dozens of lines, tokenEnd=8 tokenEnd=9 .... tokenEnd=956 tokenEnd=957 (or however long your token is)
Looks to me like this line should be moved OUTSIDE the loop!
https://github.com/zowe/zowe-common-c/blob/194623a65f095a2ae57c67c11d79992a0ec0e4a5/c/httpserver.c#L2916
Steps to Reproduce
Expected behavior
Only one line of tokenEnd, however long the token is.
Logs see snippet above
Describe your environment
node --version
): N/Ajava -version
): N/AAdditional context Had occasion to enable this debug. If your token is short it's not too bad (e.g. token 40 chars) but some of the tokens are really long if they come from APIML.