public Sale(String productName, float initialPrice) throws SecurityException, IOException{
		this.productName = productName;
		this.initialPrice = initialPrice;
		logger = Logger.getLogger(productName);
		logHandler = new FileHandler(productName + ".log");
		logHandler.setFormatter(new SaleFormatter());
		logger.addHandler(logHandler);
	}