summaryrefslogtreecommitdiff
path: root/eaaf_core/src/main/java
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2018-10-30 12:44:49 +0100
committerThomas Lenz <thomas.lenz@egiz.gv.at>2018-10-30 12:44:49 +0100
commit4a037e0729ba6fc89511c6eff8e666d9cc738034 (patch)
treeed86886c3038d3d601ebfd840d8c5fc1b503cf3a /eaaf_core/src/main/java
parentafea9274fdbaa490842fb7edc21b881c7a146656 (diff)
downloadEAAF-Components-4a037e0729ba6fc89511c6eff8e666d9cc738034.tar.gz
EAAF-Components-4a037e0729ba6fc89511c6eff8e666d9cc738034.tar.bz2
EAAF-Components-4a037e0729ba6fc89511c6eff8e666d9cc738034.zip
update logging in process engine
Diffstat (limited to 'eaaf_core/src/main/java')
-rw-r--r--eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/process/ProcessEngineImpl.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/process/ProcessEngineImpl.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/process/ProcessEngineImpl.java
index c9118191..ce4aa15b 100644
--- a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/process/ProcessEngineImpl.java
+++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/idp/process/ProcessEngineImpl.java
@@ -208,7 +208,7 @@ public class ProcessEngineImpl implements ProcessEngine {
throw new ProcessExecutionException("Process instance '" + pi.getId() + "' has not been suspended (current state is " + pi.getState() + ").");
}
- log.info("Waking up process instance '{}'.", pi.getId());
+ log.debug("Waking up process instance '{}'.", pi.getId());
pi.setState(ProcessInstanceState.STARTED);
//put pending-request ID on execution-context because it could be changed
@@ -285,15 +285,15 @@ public class ProcessEngineImpl implements ProcessEngine {
TaskInfo ti = (TaskInfo) processNode;
MDC.put(MDC_CTX_TASK_NAME, ti.getId());
try {
- log.info("Processing task '{}'.", ti.getId());
+ log.debug("Processing task '{}'.", ti.getId());
Task task = createTaskInstance(ti);
if (task != null) {
try {
- log.info("Executing task implementation for task '{}'.", ti.getId());
- log.debug("Execution context before task execution: {}", pi.getExecutionContext().keySet());
+ log.debug("Executing task implementation for task '{}'.", ti.getId());
+ log.trace("Execution context before task execution: {}", pi.getExecutionContext().keySet());
pendingReq = task.execute(pendingReq, pi.getExecutionContext());
- log.info("Returned from execution of task '{}'.", ti.getId());
- log.debug("Execution context after task execution: {}", pi.getExecutionContext().keySet());
+ log.debug("Returned from execution of task '{}'.", ti.getId());
+ log.trace("Execution context after task execution: {}", pi.getExecutionContext().keySet());
} catch (Throwable t) {
throw new ProcessExecutionException("Error executing task '" + ti.getId() + "'.", t);
}
@@ -343,7 +343,7 @@ public class ProcessEngineImpl implements ProcessEngine {
// inspect current task
if (t.getTo() instanceof TaskInfo && (((TaskInfo) t.getTo()).isAsync())) {
// immediately return in case of asynchonous task
- log.info("Suspending process instance '{}' for asynchronous task '{}'.", pi.getId(), t.getTo().getId());
+ log.debug("Suspending process instance '{}' for asynchronous task '{}'.", pi.getId(), t.getTo().getId());
pi.setState(ProcessInstanceState.SUSPENDED);
return;
}