Better cache loggin