Revision 9380
Added by rnahf about 9 years ago
src/edu/ucsb/nceas/metacat/dataone/MNodeService.java | ||
---|---|---|
1246 | 1246 |
} |
1247 | 1247 |
// TODO: update the CN URL below when the CNRead.SynchronizationFailed |
1248 | 1248 |
// method is changed to include the URL as a parameter |
1249 |
logMetacat.debug("Synchronization for the object identified by " +
|
|
1249 |
logMetacat.warn("Synchronization for the object identified by " +
|
|
1250 | 1250 |
pid.getValue() + " failed from " + syncFailed.getNodeId() + |
1251 |
" Logging the event to the Metacat EventLog as a 'syncFailed' event."); |
|
1251 |
" with message: " + syncFailed.getDescription() + |
|
1252 |
". Logging the event to the Metacat EventLog as a 'syncFailed' event."); |
|
1252 | 1253 |
// TODO: use the event type enum when the SYNCHRONIZATION_FAILED event is added |
1253 | 1254 |
String principal = Constants.SUBJECT_PUBLIC; |
1254 | 1255 |
if (session != null && session.getSubject() != null) { |
Also available in: Unified diff
refs #7453: modified the metacatLog message from mn.synchronizationFailed to include the syncFailed.message field. Also increased the log level to WARN.