Updated logs
This commit is contained in:
parent
c72f884206
commit
4b2fa14a6e
|
@ -132,7 +132,7 @@ public class SDIMaterializerPlugin extends AbstractPlugin implements Materializa
|
|||
*/
|
||||
@Override
|
||||
public MaterializationReport materialize(MaterializationRequest request) throws MaterializationException, InvalidPluginRequestException {
|
||||
log.info("Serving Materialize {} : request CallParameters {}, request Context {}: ",this.getDescriptor().getId(), request.getCallParameters(), request.getContext());
|
||||
log.info("Serving Materialize {} : request CallParameters {}, request Context {}",this.getDescriptor().getId(), request.getCallParameters(), request.getContext());
|
||||
log.debug("Materialize request {}",request);
|
||||
Project project =request.getDocument();
|
||||
UseCaseDescriptor useCaseDescriptor = request.getUseCaseDescriptor();
|
||||
|
@ -178,6 +178,7 @@ public class SDIMaterializerPlugin extends AbstractPlugin implements Materializa
|
|||
requestArguments.put("workspace",ws);
|
||||
|
||||
// Actually materializing
|
||||
log.info("Calling materializeLayer: fs {} - requestArguments {}", fs, requestArguments);
|
||||
RegisteredFileSet obtained = getSDIManager().materializeLayer(fs,requestArguments);
|
||||
log.debug("Obtained {} ",obtained);
|
||||
documentNavigator.setElement("$..[?(@."+ RegisteredFileSet.UUID+" == '"+fs.getUUID()+"')]",obtained);
|
||||
|
@ -193,7 +194,7 @@ public class SDIMaterializerPlugin extends AbstractPlugin implements Materializa
|
|||
report.setStatus(Report.Status.ERROR);
|
||||
report.putMessage(e.getMessage());
|
||||
}catch (Throwable t){
|
||||
log.error("Unable to materialize "+request,t);
|
||||
log.error("Exception, Unable to materialize "+request,t);
|
||||
report.setStatus(Report.Status.ERROR);
|
||||
report.putMessage(t.getMessage());
|
||||
}finally{
|
||||
|
|
Loading…
Reference in New Issue