public static void logProperties(Logger logger, Properties properties) {
		Set<Object> propKeys = properties.keySet();
		
		List<String> lines = new ArrayList<String>();
		String leftWall = "# ";
		String equals = " = ";
		int lineOffset = 2;
		int maxLength = 0;
		
		for (Object key: propKeys) {
			if (key instanceof String) {
				String propertyKey = (String) key;
				String line = leftWall + propertyKey + equals + properties.getProperty(propertyKey);
				lines.add(line);
				
				if (line.length() + lineOffset > maxLength) maxLength = line.length() + lineOffset;
			}
		}
		
		Collections.sort(lines); // adding sexyness
		
		// now we start rendering
		String ceilling = "";
		
		for (int i = 0; i < maxLength; i++) {
			ceilling += "#";
		}
		
		logger.info(ceilling);
		
		String title = "# Scallop Properties";
		
		while (title.length() < maxLength - 1) {
			title += " ";
		}
		
		logger.info(title + "#");
		logger.info(ceilling);
		
		for (String line : lines) {
			while (line.length() < maxLength - 1) {
				line += " ";
			}
			
			logger.info(line + "#");
		}
		
		logger.info(ceilling);
	}