Move upgrade log in the logs directory (which is in the instance, not install)
| | |
| | | private static File logFile; |
| | | private static FileHandler fileHandler; |
| | | static final String UPGRADELOGNAME = "upgrade.log"; |
| | | static final String LOGDIR = "logs"; |
| | | |
| | | /** |
| | | * Creates a new file handler for writing log messages into |
| | |
| | | |
| | | if (logFile == null) |
| | | { |
| | | logFile = new File( |
| | | UpgradeUtils.getInstallationPath() + File.separator + UPGRADELOGNAME); |
| | | logFile = new File(UpgradeUtils.getInstancePath() + File.separator + LOGDIR + File.separator + UPGRADELOGNAME); |
| | | } |
| | | try |
| | | { |