Skip to content

Commit 464b2d6

Browse files
chore(zero-cache): set log level to info (tldraw#8717)
In order to reduce log volume from the zero-cache fly.io services, this PR sets `ZERO_LOG_LEVEL` from `debug` to `info` (which is also the documented default). Applied to all three deployment templates: single-process, view-syncer, and replication-manager. ### Change type - [x] `other` ### Test plan 1. Deploy zero-cache stacks and confirm logs no longer include debug-level entries. ### Release notes - Internal: reduce zero-cache log verbosity to `info`.
1 parent 671472a commit 464b2d6

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

apps/dotcom/zero-cache/flyio-replication-manager.template.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ ZERO_CVR_MAX_CONNS = "__RM_CVR_MAX_CONNS"
4040
ZERO_CHANGE_MAX_CONNS = "__RM_CHANGE_MAX_CONNS"
4141
ZERO_LITESTREAM_BACKUP_URL = "s3://__ZERO_R2_BUCKET_NAME/__BACKUP_PATH"
4242
ZERO_LITESTREAM_ENDPOINT = "__ZERO_R2_ENDPOINT"
43-
ZERO_LOG_LEVEL = "debug"
43+
ZERO_LOG_LEVEL = "info"
4444
DO_NOT_TRACK = "1"
4545
OTEL_NODE_RESOURCE_DETECTORS = "env,host,os"
4646
OTEL_RESOURCE_ATTRIBUTES = "service.name=zero-rm,service.namespace=dotcom,deployment.environment=__TLDRAW_ENV,service.version=__ZERO_VERSION"

apps/dotcom/zero-cache/flyio-view-syncer.template.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ ZERO_ENABLE_CRUD_MUTATIONS = "false"
4444
ZERO_UPSTREAM_MAX_CONNS = "__VS_UPSTREAM_MAX_CONNS"
4545
ZERO_CVR_MAX_CONNS = "__VS_CVR_MAX_CONNS"
4646
ZERO_CHANGE_MAX_CONNS = "__VS_CHANGE_MAX_CONNS"
47-
ZERO_LOG_LEVEL = "debug"
47+
ZERO_LOG_LEVEL = "info"
4848
DO_NOT_TRACK = "1"
4949
OTEL_NODE_RESOURCE_DETECTORS = "env,host,os"
5050
OTEL_RESOURCE_ATTRIBUTES = "service.name=zero-vs,service.namespace=dotcom,deployment.environment=__TLDRAW_ENV,service.version=__ZERO_VERSION"

apps/dotcom/zero-cache/flyio.template.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ ZERO_ADMIN_PASSWORD = "__ZERO_ADMIN_PASSWORD"
3737
ZERO_UPSTREAM_MAX_CONNS = "__SINGLE_UPSTREAM_MAX_CONNS"
3838
ZERO_CVR_MAX_CONNS = "__SINGLE_CVR_MAX_CONNS"
3939
ZERO_CHANGE_MAX_CONNS = "__SINGLE_CHANGE_MAX_CONNS"
40-
ZERO_LOG_LEVEL = "debug"
40+
ZERO_LOG_LEVEL = "info"
4141
ZERO_MUTATE_URL = "__ZERO_MUTATE_URL"
4242
ZERO_QUERY_URL = "__ZERO_QUERY_URL"
4343
ZERO_ENABLE_CRUD_MUTATIONS = "false"

0 commit comments

Comments
 (0)