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

heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git


The following commit(s) were added to refs/heads/master by this push:
     new abea951b tidyup of log levels
abea951b is described below

commit abea951bb221db82db00408b0969cca6247ccd1e
Author: Alex Heneveld <[email protected]>
AuthorDate: Fri Oct 6 15:04:26 2023 +0100

    tidyup of log levels
---
 .../apache/brooklyn/ui/modularity/module/api/UiModuleListener.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/modularity-server/module-api/src/main/java/org/apache/brooklyn/ui/modularity/module/api/UiModuleListener.java
 
b/modularity-server/module-api/src/main/java/org/apache/brooklyn/ui/modularity/module/api/UiModuleListener.java
index 690998b2..d07ad6b7 100644
--- 
a/modularity-server/module-api/src/main/java/org/apache/brooklyn/ui/modularity/module/api/UiModuleListener.java
+++ 
b/modularity-server/module-api/src/main/java/org/apache/brooklyn/ui/modularity/module/api/UiModuleListener.java
@@ -79,7 +79,7 @@ public class UiModuleListener implements 
ServletContextListener {
                     bundle.getSymbolicName(), uiModule.getName(), 
bundle.getState(), TIMEOUT);
                 blockUntilBundleStarted(bundle, TIMEOUT);
             }
-            LOG.info("Registering new Brooklyn UI module {}:{} [{}] called 
'{}' on context-path '{}'", 
+            LOG.debug("Registering new Brooklyn UI module {}:{} [{}] called 
'{}' on context-path '{}'", 
                 bundle.getSymbolicName(), bundle.getVersion(), 
bundle.getVersion(), uiModule.getName(), uiModule.getPath() );
             registration = 
bundle.getBundleContext().registerService(UiModule.class, uiModule, 
EMPTY_DICTIONARY);
             LOG.trace("ServletContextListener on initializing UI module 
"+bundle.getSymbolicName()+" ["+bundle.getBundleId()+"] "
@@ -198,7 +198,7 @@ public class UiModuleListener implements 
ServletContextListener {
             // if it tries to start it should abort itself
             return;
         }
-        LOG.info("UiModules: " + message);
+        LOG.debug("UiModules: " + message);
         new Thread(() -> { 
             try {
                 bundleToStop.stop(); 
@@ -232,7 +232,7 @@ public class UiModuleListener implements 
ServletContextListener {
         
     @Override
     public void contextDestroyed(ServletContextEvent servletContextEvent) {
-        LOG.info("Unregistering Brooklyn UI module at [{}]", 
servletContextEvent.getServletContext().getContextPath());
+        LOG.debug("Unregistering Brooklyn UI module at [{}]", 
servletContextEvent.getServletContext().getContextPath());
         if (registration != null) {
             try {
                 registration.unregister();

Reply via email to