remove duplicate logging manipulations

Change-Id: I124df74a0dd32bcf861855eeddec5fec20a5ee07
Reviewed-on: http://review.couchbase.org/37144
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Li Yang <lichenyang2@gmail.com>