diff --git a/core/camel-api/src/main/java/org/apache/camel/support/service/BaseService.java b/core/camel-api/src/main/java/org/apache/camel/support/service/BaseService.java index 9d391be7e509c..c464e8795efb5 100644 --- a/core/camel-api/src/main/java/org/apache/camel/support/service/BaseService.java +++ b/core/camel-api/src/main/java/org/apache/camel/support/service/BaseService.java @@ -85,7 +85,7 @@ public void init() { doInit(); status = INITIALIZED; } catch (Exception e) { - logger().trace("Error while initializing service: {}", this, e); + logger().error("Error while initializing service: {}", this, e); fail(e); } } @@ -129,10 +129,10 @@ public void start() { stop(); } catch (Exception e2) { // ignore - logger().trace("Error while stopping service after it failed to start: {}. This exception is ignored", + logger().error("Error while stopping service after it failed to start: {}. This exception is ignored", this, e); } - logger().trace("Error while starting service: {}", this, e); + logger().error("Error while starting service: {}", this, e); fail(e); } } finally { @@ -168,7 +168,7 @@ public void stop() { status = STOPPED; logger().trace("Stopped: {} service", this); } catch (Exception e) { - logger().trace("Error while stopping service: {}", this, e); + logger().error("Error while stopping service: {}", this, e); fail(e); } } finally { @@ -200,7 +200,7 @@ public void suspend() { status = SUSPENDED; logger().trace("Suspended service: {}", this); } catch (Exception e) { - logger().trace("Error while suspending service: {}", this, e); + logger().error("Error while suspending service: {}", this, e); fail(e); } } finally { @@ -228,7 +228,7 @@ public void resume() { status = STARTED; logger().trace("Resumed service: {}", this); } catch (Exception e) { - logger().trace("Error while resuming service: {}", this, e); + logger().error("Error while resuming service: {}", this, e); fail(e); } } finally { @@ -261,7 +261,7 @@ public void shutdown() { logger().trace("Shutdown service: {}", this); status = SHUTDOWN; } catch (Exception e) { - logger().trace("Error shutting down service: {}", this, e); + logger().error("Error shutting down service: {}", this, e); fail(e); } } finally {