Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable local logging in production :$ #944

Closed
joswayski opened this issue Jan 14, 2024 · 0 comments · Fixed by #950
Closed

Disable local logging in production :$ #944

joswayski opened this issue Jan 14, 2024 · 0 comments · Fixed by #950
Labels
good first issue Good for beginners looking to contribute code! good-first-issue Good for beginners looking to contribute code!

Comments

@joswayski
Copy link
Member

Yikes cloudwatch!

CleanShot 2024-01-14 at 11 56 40@2x

We're already sending logs to Axiom.

In logger.rs, only log locally if the environment is local

CleanShot 2024-01-14 at 11 57 38@2x

It's the tracing subscriber setup in axum thats logging so much. it logs everything and anything :D

@joswayski joswayski added good first issue Good for beginners looking to contribute code! good-first-issue Good for beginners looking to contribute code! labels Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for beginners looking to contribute code! good-first-issue Good for beginners looking to contribute code!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant