This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 974ba7c Polished
974ba7c is described below
commit 974ba7c518063bcfd650644b4a11247337e059b1
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Nov 26 09:42:55 2021 +0100
Polished
---
.../org/apache/camel/impl/engine/AbstractCamelContext.java | 10 +++++-----
.../camel/impl/engine/DefaultSupervisingRouteController.java | 6 +++---
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java
index 77a07b2..aaf9066 100644
---
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java
+++
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/AbstractCamelContext.java
@@ -3081,9 +3081,9 @@ public abstract class AbstractCamelContext extends
BaseService
}
}
if (disabled > 0) {
- LOG.info("Routes startup summary (total:{} started:{}
disabled:{})", total, started, disabled);
+ LOG.info("Routes startup (total:{} started:{} disabled:{})",
total, started, disabled);
} else {
- LOG.info("Routes startup summary (total:{} started:{})",
total, started);
+ LOG.info("Routes startup (total:{} started:{})", total,
started);
}
// if we are default/verbose then log each route line
if (startupSummaryLevel == StartupSummaryLevel.Default ||
startupSummaryLevel == StartupSummaryLevel.Verbose) {
@@ -3091,7 +3091,7 @@ public abstract class AbstractCamelContext extends
BaseService
LOG.info(line);
}
if (startupSummaryLevel == StartupSummaryLevel.Verbose) {
- LOG.info("Routes configuration summary");
+ LOG.info("Routes configuration:");
for (String line : configs) {
LOG.info(line);
}
@@ -3493,9 +3493,9 @@ public abstract class AbstractCamelContext extends
BaseService
lines.add(String.format(" %s %s (%s)", status, id, uri));
}
if (forced > 0) {
- logger.log(String.format("Routes stopped summary (total:%s
stopped:%s forced:%s)", total, stopped, forced));
+ logger.log(String.format("Routes stopped (total:%s stopped:%s
forced:%s)", total, stopped, forced));
} else {
- logger.log(String.format("Routes stopped summary (total:%s
stopped:%s)", total, stopped));
+ logger.log(String.format("Routes stopped (total:%s
stopped:%s)", total, stopped));
}
// if we are default/verbose then log each route line
if (startupSummaryLevel == StartupSummaryLevel.Default ||
startupSummaryLevel == StartupSummaryLevel.Verbose) {
diff --git
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultSupervisingRouteController.java
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultSupervisingRouteController.java
index 158dbe3..a70ace4 100644
---
a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultSupervisingRouteController.java
+++
b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultSupervisingRouteController.java
@@ -530,9 +530,9 @@ public class DefaultSupervisingRouteController extends
DefaultRouteController im
}
if (restarting == 0 && exhausted == 0) {
- LOG.info("Routes startup summary (total:{} started:{})", total,
started);
+ LOG.info("Routes startup (total:{} started:{})", total, started);
} else {
- LOG.info("Routes startup summary (total:{} started:{}
restarting:{} exhausted:{})", total, started, restarting,
+ LOG.info("Routes startup (total:{} started:{} restarting:{}
exhausted:{})", total, started, restarting,
exhausted);
}
if (getCamelContext().getStartupSummaryLevel() ==
StartupSummaryLevel.Default
@@ -541,7 +541,7 @@ public class DefaultSupervisingRouteController extends
DefaultRouteController im
LOG.info(line);
}
if (getCamelContext().getStartupSummaryLevel() ==
StartupSummaryLevel.Verbose) {
- LOG.info("Routes configuration summary");
+ LOG.info("Routes configuration:");
for (String line : configs) {
LOG.info(line);
}