Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down