Try using a parameter file - specify a logfile name in it.