@@ -95,9 +95,9 @@ public LegacyStoreObjManager() throws ServiceFailure {
95
95
if (documentRootDir .equals (dataRootDir )) {
96
96
ifDataAndDocRootSame = true ;
97
97
}
98
- logger .info ("ObjectManager.constructor - the root document directory is " +
99
- documentRootDir + " and the root data directory is " + dataRootDir +
100
- " Are they same?" + ifDataAndDocRootSame );
98
+ logger .info (
99
+ "The root document directory is " + documentRootDir + " and the root data directory is "
100
+ + dataRootDir + " Are they same?" + ifDataAndDocRootSame );
101
101
102
102
}
103
103
@@ -169,22 +169,19 @@ public org.dataone.service.types.v1.SystemMetadata getSystemMetadata(String id)
169
169
}
170
170
}
171
171
}
172
- logger .debug (
173
- "ObjectManager.getSystemMetadata - finish getting the system metadata via the "
174
- + "DataONE API call for the pid " + id );
172
+ logger .debug ("Finish getting the system metadata via the DataONE API call for the pid "
173
+ + id );
175
174
} catch (NotAuthorized e ) {
176
175
logger .info (
177
- "ObjectManager.getSystemMetadata - failed to get the system metadata via the "
178
- + "DataONE API call for the pid "
176
+ "Failed to get the system metadata via the DataONE API call for the pid "
179
177
+ id + " since it is not authorized. We will refresh the token and try again" );
180
178
refreshD1Node ();
181
179
sysmeta = getSystemMetadataByAPI (id );
182
180
}
183
181
long end = System .currentTimeMillis ();
184
182
logger .info (
185
- "ObjectManager.getSystemMetadata - finish getting the system metadata via DataONE API"
186
- + " for the pid "
187
- + id + " and it took " + (end - start ) + "milliseconds" );
183
+ "Finish getting the system metadata via DataONE API for the pid " + id + " and it took "
184
+ + (end - start ) + "milliseconds" );
188
185
189
186
return sysmeta ;
190
187
}
0 commit comments