Adds TMP logging