CBD-1412: use logger instead of print statement

Change-Id: I390728c6712ba2dcc900d1dd41db11c20c6e67dc
Reviewed-on: http://review.couchbase.org/39995
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
Tested-by: Pavel Paulau <pavel.paulau@gmail.com>