Fix errors en log of latency and add testing log in the app