added KO and server loging