server logs on console correctly