Add logs to debug