Adding log information on connection
Fix issue with "fields" option