From 2c76aa166f5cd218ae79b4a5630506f0555b03a9 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Tue, 16 Jan 2024 11:40:02 +0100 Subject: [PATCH] Update main.py --- ollama_proxy_server/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ollama_proxy_server/main.py b/ollama_proxy_server/main.py index 336edaf..b825443 100644 --- a/ollama_proxy_server/main.py +++ b/ollama_proxy_server/main.py @@ -57,7 +57,7 @@ def main(): writer.writeheader() with open(log_file_path, mode='a', newline='') as csvfile: - fieldnames = ['time_stamp', 'user_name', 'ip_address'] + fieldnames = ['time_stamp', 'user_name', 'ip_address', 'access', 'server'] writer = csv.DictWriter(csvfile, fieldnames=fieldnames) row = {'time_stamp': str(datetime.datetime.now()), 'user_name': user, 'ip_address': ip_address, 'access': access, 'server': server} writer.writerow(row)