log socket