chore(aws-infra): log all portal messages on the gateway (#5615)

Now that we have split the `wire` target into sub-targets, we can
selectively enable the wire messages to and from the API which is very
helpful in debugging what messages are being sent.
This commit is contained in:
Thomas Eizinger
2024-06-29 07:21:20 +10:00
committed by GitHub
parent 37d3ebbb7c
commit 9fe070c72f

View File

@@ -160,7 +160,7 @@ module "aws_gateway" {
image_repo = module.google-artifact-registry.repo
image = "gateway"
image_tag = var.image_tag
observability_log_level = "phoenix_channel=debug,firezone_gateway=debug,boringtun=debug,snownet=debug,str0m=info,connlib_gateway_shared=debug,firezone_tunnel=debug,connlib_shared=debug,warn"
observability_log_level = "wire::api=trace,phoenix_channel=debug,firezone_gateway=debug,boringtun=debug,snownet=debug,str0m=info,connlib_gateway_shared=debug,firezone_tunnel=debug,connlib_shared=debug,warn"
application_name = "gateway"
application_version = replace(var.image_tag, ".", "-")
api_url = "wss://api.${local.tld}"