Skip to content

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
Issue #210
  • Loading branch information
rsoika committed Jul 15, 2024
1 parent fa2cb94 commit 7b30d6e
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public void run(Timer timer) {
// test if a JSESSIONID exists?
String jSessionID = (String) timer.getInfo();
if (jSessionID == null || jSessionID.isEmpty()) {
logger.fine("--- jSessionID is empty - need new login....");
logger.info("Missing or invalid jSessionID - need new login....");
// no - we need to login first and store the JSESSIONID in a new timer object...
// create a FormAuthenticator
FormAuthenticator formAuth = new FormAuthenticator(workflowServiceEndpoint.get(),
Expand All @@ -132,7 +132,8 @@ public void run(Timer timer) {
timerConfig.setPersistent(false);
timerService.createIntervalTimer(interval, interval, timerConfig);
logger.fine("---created new timer");
logger.info("successful connected: " + workflowServiceEndpoint.get() + " new Timer created...");
logger.info(
"successful reconnected: " + workflowServiceEndpoint.get() + " , new Timer created...");
return;
}
} else {
Expand Down

0 comments on commit 7b30d6e

Please sign in to comment.