Skip to content
Snippets Groups Projects
Commit cbf480dd authored by Fabian Heinrich's avatar Fabian Heinrich
Browse files

Log of study server now as jsonl

parent 7265f50a
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment