Add a logger socket for printing errors