I am trying to disable log rotation, for file handler using,
FileHandler fh = new FileHandler ( \"path\" + \"run.log\", 1000000, 1, false);
Handler fileHandler = new FileHandler(FILE_PATH, true);
Try this: FileHandler fh = new FileHandler( "path" + "run.log", 1000000, 1, true);
FileHandler fh = new FileHandler( "path" + "run.log", 1000000, 1, true);
Try 0 as the limit instead of 1000000.
0
1000000