Delete the whole block of code that derives 'logFormat' since you don't need that variable anymore.