Fix garbling of clat/slat logs if a shared log file is used