Fix minor issue with log