change(logging): restrict logging.conf & add logging.test.conf

We'll override logging.conf with logging.test.conf for debug logging
needed for tests now, so we can rely on the default logging.conf
for production use.

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2022-01-17 12:02:32 -08:00
parent cce9385fb1
commit bf4662e26f
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
4 changed files with 11 additions and 13 deletions

View file

@ -1,6 +1,9 @@
#!/bin/bash
set -eou pipefail
# Set test logging.
cp -vf "logging.test.conf" "logging.conf"
# We use the root user for testing in Docker.
# The test user must be able to create databases and drop them.
aurweb-config set database user 'root'