fix logfile truncation introduced by previous fix for (bnc#825490)
changes 9.15.4 (8)