static Formatter getFormatterProperty(LogManager mgr, String name, Formatter defaultValue) {
        String val = mgr.getProperty(name);
        try {
            if (val != null) {
            Class clz = ClassLoader.getSystemClassLoader().loadClass(val);
                return (Formatter) clz.newInstance();
            }
        } catch (Exception ex) {
            // We got one of a variety of exceptions in creating the
            // class or creating an instance.
            // Drop through.
        }
        // We got an exception.  Return the defaultValue.
        return defaultValue;
        }