Fix logstring