Update the log name to include mode of the builds i.e. debug or opt.