For string interpolation to work I think you need a leading `s`:


    logInfo(s"Driver terminated or disconnected! Shutting down. $x")