Added logLongest option