try to fix the socket logging