code: public static void logJavaSystemProperties() {
  		Properties properties = System.getProperties();
  		Iterator<Object> keys = properties.keySet().iterator();
  		while (keys.hasNext() ) {
  			Object key = keys.next();
  			Object value = properties.get(key);
  			logMessage("SysProp, "+key+"="+value.toString().trim());
  		}
  	}
docs: Log Java system properties.