better logging direct-tcp, shuffle imports.