Skip to content

Commit

Permalink
add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaUnisikhin committed Mar 13, 2024
1 parent b9a027a commit 8e18aee
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ jobs:
run: ./run-clang-format/run-clang-format.py -r --clang-format-executable clang-format-11 modules sources stress test third_party

- name: Test
env:
CC: ${{ matrix.compiler }}
CC_FOR_BUILD: ${{ matrix.compiler }}
run: make run_test

- name: Prepare for release
Expand Down
4 changes: 1 addition & 3 deletions docker-compose-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ services:
DB_PORT: "6432"
DB_USER: "spqr-console"
DB_NAME: "spqr-console"
networks:
od_net:
ipv4_address: 192.168.233.17
network_mode: "host"

networks:
od_net:
Expand Down
2 changes: 2 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ COPY ./docker/gorm /gorm

COPY ./docker/entrypoint.sh /usr/local/bin/entrypoint.sh

RUN touch ./logs.txt

RUN chmod a+x /usr/local/bin/entrypoint.sh

ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
8 changes: 5 additions & 3 deletions docker/odyssey.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@ unix_socket_dir "/tmp"
unix_socket_mode "0644"

log_format "%p %t %l [%i %s] (%c) %m\n"
log_debug no
log_debug yes
log_config yes
log_session no
log_query no
log_session yes
log_query yes
log_stats yes
daemonize yes

log_file "./logs.txt"

locks_dir "/tmp/odyssey"
graceful_die_on_errors yes
enable_online_restart yes
Expand Down

0 comments on commit 8e18aee

Please sign in to comment.