Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repromon-reprostim integration #12

Merged
merged 4 commits into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
libpq-dev \
python3-dev \
python3-pip \
python3.11-venv \
python3-venv \
python-is-python3 \
&& \
DEBIAN_FRONTEND=noninteractive apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
#
# # db service access info
# SQLALCHEMY_DATABASE_URI: "${SQLALCHEMY_DATABASE_URI}"
command: [ "bash", "-c", "/app/venv/bin/poetry run setup_db && /app/venv/bin/poetry run srv" ]
command: [ "bash", "-c", "sleep 0 && /app/venv/bin/poetry run setup_db && /app/venv/bin/poetry run srv" ]
volumes:
- ${WEB_PATH_AT_HOST}/instance:/app/instance
- ./.env.dev:/app/.env.local
Expand Down
16 changes: 4 additions & 12 deletions logging.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
keys=root,defaultLogger

[handlers]
keys=consoleHandler,syslogHandler
keys=consoleHandler

[formatters]
keys=defaultFormatter,syslogFormatter
keys=defaultFormatter

[logger_root]
level=DEBUG
handlers=consoleHandler,syslogHandler
handlers=consoleHandler

[logger_defaultLogger]
level=DEBUG
handlers=consoleHandler,syslogHandler
handlers=consoleHandler
qualname=defaultLogger
propagate=0

Expand All @@ -23,15 +23,7 @@ level=DEBUG
formatter=defaultFormatter
args=(sys.stdout,)

[handler_syslogHandler]
class=logging.handlers.SysLogHandler
formatter=syslogFormatter
args=(('127.0.0.1', 514),15)

[formatter_defaultFormatter]
format=repromon: %(asctime)s %(levelname)s %(name)s %(threadName)s (%(module)s:%(funcName)s:%(lineno)d) - %(message)s
datefmt=

[formatter_syslogFormatter]
format=repromon: %(levelname)s %(name)s %(threadName)s (%(module)s:%(funcName)s:%(lineno)d) - %(message)s
datefmt=
Loading
Loading