When logging, don't write to a socket as well