We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

Log displaying partial value of variable

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
vikas
Posts: 53
Joined: Wed May 13, 2015 7:46 pm

Log displaying partial value of variable

Post by vikas »

hi

We have a code where we are assigning a XML string to a variable and later displaying it using <log> tag.
However I see that only a part of xml string gets printed in log.

Is there any length limitation that I am running into? Kindly let me know.

Code: Select all

<assign name="submitData" expr="'<verifyCardRequest>
				<requestId>' + session.id + hitCounter + '</requestId>
				<merchantId>' + merchantId + '</merchantId>
				<previousAttempts>' + previousAttempts + '</previousAttempts>
				<millisecondsToWait>' + millisecondsToWait + '</millisecondsToWait>
				<cardNumber>' + primaryAccountNumber + '</cardNumber>
				<expirationMonth>' + expirationMonth + '</expirationMonth>
				<expirationYear>' + expirationYear + '</expirationYear>
				<securityCode>' + securityCode + '</securityCode>
				<channel>' + channel.id + '</channel>
				</verifyCardRequest>'" />

<log expr="'*****submitData = ' + submitData"/>
Value displayed in log

LOCAL: *****submitData = <verifyCardRequest> <requestId>400024;005;149011976501</requestId> <merchantId>603000*****</merchantId> <previousAttempts>0</previousAttempts> <millisecondsToWait>20000</millisecondsToWait> <cardNumber>45112980027****

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

Re: Log displaying partial value of variable

Post by support »

Hi Vikas,

Yes, there is a log limitation; log entries are limited to a maximum length of 255 bytes. Please let us know if you have anymore questions.

Regards,
Plum Support

Post Reply