removed the logs and set uo a local handler