Test logging and connection resiliency