More modification about log names to include mpi information.