diff --git a/.github/workflows/backend-client-functional-tests.yml b/.github/workflows/backend-client-functional-tests.yml index 94e0268..567e5d4 100644 --- a/.github/workflows/backend-client-functional-tests.yml +++ b/.github/workflows/backend-client-functional-tests.yml @@ -12,7 +12,6 @@ jobs: run: | cd nopayloaddb/ docker-compose up --build -d - docker-compose logs -f & - name: Check out client-side repository uses: actions/checkout@v3 diff --git a/nopayloaddb/nopayloaddb/settings.py b/nopayloaddb/nopayloaddb/settings.py deleted file mode 100644 index e69de29..0000000 diff --git a/nopayloaddb/settings.py b/nopayloaddb/settings.py index 1f90de4..bc84ce8 100644 --- a/nopayloaddb/settings.py +++ b/nopayloaddb/settings.py @@ -90,6 +90,9 @@ 'class': 'logging.FileHandler', 'filename': '{}/django-{}.log'.format(LOGPATH, HOSTNAME), }, + 'console': { + 'class': 'logging.StreamHandler', + } }, 'loggers': { 'django': { diff --git a/nopayloaddb/test_settings.py b/nopayloaddb/test_settings.py new file mode 100644 index 0000000..8ebb54f --- /dev/null +++ b/nopayloaddb/test_settings.py @@ -0,0 +1,3 @@ +from .settings import * + +LOGGING['loggers']['django']['handlers'].append('console')