logueando
logging fix
enabling logging, and logging some errors