Added some basic logging at debug and info levels