[all] use file entity to store logs instead of string (closes #3259432) [applied]