Skip to content

Commit

Permalink
feat: Extract logs from postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
TomMcL committed Aug 24, 2023
1 parent af2385e commit c93f310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vega_sim/null_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ def sighandler(signal, frame):
def kill_docker_container() -> None:
try:
data_node_container.stop()
with open(tmp_vega_home + "/postgres.log", "wb") as f:
with open(tmp_vega_home + "/postgres.out", "wb") as f:
f.write(data_node_container.logs())
data_node_container.remove()
except requests.exceptions.HTTPError as e:
Expand Down

0 comments on commit c93f310

Please sign in to comment.