Added logging
Testing intergration tests pt2