Merging shell log file into FB log

I’m leveraging a 3rd party tool which outputs its own log file. I want to incorporate that file into the FB log. I’m using the “Read Text File” action into a variable and then “Log Variable Values” to write the 3rd party log content into the FB log. The variable truncates the 3rd party log content. Is there a maximum size of variables? My variable contains just under 24k characters with spaces.

Is there a better way to accomplish a log file merge?

Thanks.

Hi Jeff,

There’s no size limit for an FB variable. Will investigate this on Monday. Any idea at what length the truncation happens?

.t8

It’s an odd number: 23,911. I checked the file for any extraneous or unescaped characters immediately following the line after truncation but didn’t see anything suspect.

Hi Jeff

Can you send the file to support so we can test it here, it may be that it has some embedded null characters or something which is causing the truncation.

Jeff,

I just tried this with a 69kb file and it worked fine, so is likely to be some problem with the file. Does it have any %'s in it by any chance (or “$(” )?

If not please email the file to us, thanks.

.t8

No but close. Here’s the last line I get. And the “(s)” i s the first occurrence in the file. Perhaps it is that? I will email to support.



2/16/2007 9:31:04 PM: 0/100: Extracting COM data from 1 component(s)



Thanks.

Jeff, thanks email received. Looks like it’s a NUL character in the file that’s tripping up FB…

we’ve now put in a workaround for the read text file action, it will remove all NUL characters. New build is here:

https://www.finalbuilder.com/downloads/finalbuilder/500/FB500_132.exe

Thanks, I’ll grab this version.

That worked. Many thanks.