Corrected missing concatenation in end_logentry