jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignasi Barrera <notificati...@github.com>
Subject Re: [jclouds] openstack console (#339)
Date Tue, 03 Jun 2014 13:32:52 GMT
> +      }
> +
> +      /**
> +       * Used from jclouds builtin deserializer.
> +       */
> +      public static Type fromValue(String type) {
> +          if (type != null) {
> +             for (Type value : Type.values()) {
> +                if (type.equals(value.type)) {
> +                   return value;
> +                }
> +             }
> +             return UNRECOGNIZED;
> +          }
> +          return null;
> +      }

FTR: [Logger.html#getAnonymousLogger](http://docs.oracle.com/javase/7/docs/api/java/util/logging/Logger.html#getAnonymousLogger())

How important are those warning logs? If we use the anonymous logger we'll be potentially
using a logging framework different than the one the user configured when creating the context,
and that may end up in unexpected messages appearing in the wrong place.

If we completely remove the logging here (the only remaining alternative), how bad would that
be? If at some point one has to debug what's going on, could the wire logs be inspected to
find the responses containing unexpected values?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/339/files#r13333769
Mime
View raw message