[LFTILI-132] formatting string when writing to log file without the use ...

...of sprintf