This is an automated email from the ASF dual-hosted git repository.
abhishekrb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new 181b5bcefa8 Info log for stopping lifecycle. (#18640)
181b5bcefa8 is described below
commit 181b5bcefa835b10e3f26ee3794d6c537bf331d1
Author: Abhishek Radhakrishnan <[email protected]>
AuthorDate: Thu Oct 16 09:10:23 2025 -0700
Info log for stopping lifecycle. (#18640)
We have the lifecycle start() logged at info, but lifecycle close() is
currently logged at debug. For inspectability, it's good to log this at info
too. I was debugging why some close() hooks aren't invoked and this was
helpful.
---
.../java/org/apache/druid/java/util/common/lifecycle/Lifecycle.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/processing/src/main/java/org/apache/druid/java/util/common/lifecycle/Lifecycle.java
b/processing/src/main/java/org/apache/druid/java/util/common/lifecycle/Lifecycle.java
index 952be8d8ffd..a91038c00eb 100644
---
a/processing/src/main/java/org/apache/druid/java/util/common/lifecycle/Lifecycle.java
+++
b/processing/src/main/java/org/apache/druid/java/util/common/lifecycle/Lifecycle.java
@@ -466,7 +466,7 @@ public class Lifecycle
}
}
if (doStop) {
- log.debug("Stopping lifecyle [%s#%s].",
o.getClass().getSimpleName(), method.getName());
+ log.info("Stopping lifecyle [%s#%s].", o.getClass().getSimpleName(),
method.getName());
try {
method.invoke(o);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]