add focus log function

log temperature and focus position