I use java.util.logging.Logger to log in my app :
FileHandler fh=new FileHandler(this.todayFileName, 0, 1, true);
fh.setFormatter(new SimpleFormatter());
Logger.getLogger(rootLogger.getName()).setLevel(Level.ALL);
Logger.getLogger(rootLogger.getName()).addHandler(fh);
but this does work well except that log rotation is enabled.
and i get files :
run.log run.log.1 run.log.2
what I want is to get only one log file, with no rotation enabled.
how do I do that ?