diff --git a/cooperative_cuisine/study_server.py b/cooperative_cuisine/study_server.py index 657c4c00aa6a3624cd963553a4a226e068b3314f..fbce4f2ecfa828b22110a6774336ca7bbdd4be7d 100644 --- a/cooperative_cuisine/study_server.py +++ b/cooperative_cuisine/study_server.py @@ -322,7 +322,7 @@ class Study: env_name=self.current_running_env["env_id"], ) os.makedirs(log_path, exist_ok=True) - with open(Path(log_path) / "study_log", "a") as log_file: + with open(Path(log_path) / "study_log.jsonl", "a") as log_file: log_file.write( json.dumps( { @@ -332,6 +332,7 @@ class Study: "player_info": player_info, } ) + + "\n" ) return player_info, level_info else: