You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2020/05/18 11:09:31 UTC

[camel-spring-boot] 01/02: CAMEL-15045: Allow to configure route startup logging level. For example if you have 100+ routes it may be annoying with a log per route.

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git

commit 8745b331fefc194c7ce99a1c8ba782b489b042a1
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon May 18 12:40:17 2020 +0200

    CAMEL-15045: Allow to configure route startup logging level. For example if you have 100+ routes it may be annoying with a log per route.
---
 .../org/apache/camel/spring/boot/CamelConfigurationProperties.java | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java
index 5539875..c13cb7d 100644
--- a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java
+++ b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/CamelConfigurationProperties.java
@@ -521,6 +521,13 @@ public class CamelConfigurationProperties extends DefaultConfigurationProperties
     private String xmlRests = "classpath:camel-rest/*.xml";
 
     /**
+     * Sets the logging level used for logging route startup activity.
+     * By default INFO level is used. You can use this to change the level for example to OFF if
+     * this kind of logging is not wanted.
+     */
+    private LoggingLevel routeControllerRouteStartupLoggingLevel;
+
+    /**
      * To enable using supervising route controller which allows Camel to startup
      * and then the controller takes care of starting the routes in a safe manner.
      *