Working on logging bug when days change