changed message size and disable log on connection failure
fixed compile warning