[observability.logs]logs enabled cleared on build

Anytime I build my workers logs are getting disabled. I have this set in my wrangler.toml
[observability.logs]
enabled = true
[observability.logs]
enabled = true
my wrangler version is 3.112.0 Would this impact anything?
#:schema node_modules/wrangler/config-schema.json
compatibility_date = "2025-01-24"
compatibility_flags = [ "nodejs_compat" ]
#:schema node_modules/wrangler/config-schema.json
compatibility_date = "2025-01-24"
compatibility_flags = [ "nodejs_compat" ]
3 Replies
James
James5w ago
Can you share your full wrangler config? Do you have any environments configured there? If so, you’ll need to set the observability logs config under the environment too.
Alex Patterson
Alex PattersonOP4w ago
I don't "think" so?
Alex Patterson
Alex PattersonOP4w ago
@james does that make sense?

Did you find this page helpful?