got temp logging working
added time logging code