brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahgittin <...@git.apache.org>
Subject [GitHub] incubator-brooklyn pull request: improve startup logging
Date Thu, 07 Aug 2014 19:26:16 GMT
Github user ahgittin commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/109#discussion_r15957845
  
    --- Diff: core/src/main/java/brooklyn/util/osgi/Osgis.java ---
    @@ -178,9 +179,7 @@ public static Framework newFrameworkStarted(String felixCacheDir,
boolean clean,
                 // framework bundle start exceptions are not interesting to caller...
                 throw Exceptions.propagate(e);
             }
    -        long frameworkInitEnd = System.currentTimeMillis();
    -        double frameworkInitSeconds = ((double)frameworkInitEnd - frameworkInitStart)
/ 1000;
    -        LOG.info("OSGi framework started in " + Strings.makeRealString(frameworkInitSeconds,
-1, 2, -1) + " seconds.");
    +        LOG.debug("OSGi framework started in " + Duration.of(timer) + " seconds.");
    --- End diff --
    
    +1


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message