exception log fix: last empty log removed