Skip to content

Commit fb369d8

Browse files
committed
chore: Switch to flagsmith-common 3.5.0 release and set APPLICATION_LOGGERS
Use the released PyPI package instead of the git branch reference, and set the APPLICATION_LOGGERS env var default in run-docker.sh so that application loggers are configured at the correct level.
1 parent 3d813ba commit fb369d8

3 files changed

Lines changed: 32 additions & 35 deletions

File tree

api/poetry.lock

Lines changed: 30 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ pygithub = "~2.8"
163163
hubspot-api-client = "^12.0.0"
164164
djangorestframework-dataclasses = "^1.3.1"
165165
pyotp = "^2.9.0"
166-
flagsmith-common = { git = "https://github.com/Flagsmith/flagsmith-common.git", branch = "feat/logging-improvements", extras = [
166+
flagsmith-common = { version = ">=3.5.0,<4", extras = [
167167
"common-core",
168168
"flagsmith-schemas",
169169
"task-processor",

api/scripts/run-docker.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ set -e
33

44
# common environment variables
55
ACCESS_LOG_FORMAT=${ACCESS_LOG_FORMAT:-'%(h)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s" %({origin}i)s %({access-control-allow-origin}o)s'}
6+
APPLICATION_LOGGERS=${APPLICATION_LOGGERS:-"common,features,task_processor,app_analytics,webhooks"}
67

78
waitfordb() {
89
if [ -z "${SKIP_WAIT_FOR_DB}" ]; then

0 commit comments

Comments
 (0)