added logging to critical methods of components