Change temp to log