fix logfile truncation introduced by previous fix for (bnc#825490)
changes 12.13.2 (0)