fix logging in btsync-pre