 		return response
 	}
 
+	func convertDateToCLF(date: Date) -> String {
+		let dateFormatter = DateFormatter()
+		dateFormatter.dateFormat = "d/MMM/y:H:m:s Z"
+		return dateFormatter.string(from: date)
+	}
+
 	func saveToFile(toFile: String, content: String) -> Bool {
 		do {
 			if fileManager.fileExists(atPath: toFile) == false {
 				// create new file
-				let header = "REMOTE IP ADDRESS\tDATETIME\tREQUEST METHOD\tREQUEST URI\tREQUEST HEADERS"
-				try (header + "\n" + content + "\n").write(toFile: toFile, atomically: true, encoding: .utf8)
+				try (content + "\n").write(toFile: toFile, atomically: true, encoding: .utf8)
 			} else {
 				// append to file
 				if fileHandle == nil {

				}
				if let fileHandle = fileHandle {
					let _ = fileHandle.seekToEndOfFile()
					if let data = (content+"\n").data(using: String.Encoding.utf8) {
						fileHandle.write(data)
					}
				}

	public init(format: String) {
		self.format = format
	}

	public convenience init() {
		self.init(format: "combined")
	}
