Revision 4808
Added by daigle over 15 years ago
PropertiesAdmin.java | ||
---|---|---|
242 | 242 |
logMetacat.error(errorString); |
243 | 243 |
validationErrors.add(errorString); |
244 | 244 |
} |
245 |
|
|
246 |
// Try to create temporary directories if necessary. |
|
247 |
String replLogDir = PropertyService.getProperty("replication.logdir"); |
|
248 |
try { |
|
249 |
FileUtil.createDirectory(replLogDir); |
|
250 |
} catch (IOException ioe) { |
|
251 |
String errorString = "Could not create directory: " + replLogDir + |
|
252 |
" : " + ioe.getMessage(); |
|
253 |
logMetacat.error(errorString); |
|
254 |
validationErrors.add(errorString); |
|
255 |
} |
|
245 | 256 |
|
246 | 257 |
// write the backup properties to a location outside the |
247 | 258 |
// application directories so they will be available after |
Also available in: Unified diff
Update replication documentation and fix code so that replication log is available.