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

[download] Do not show GIN logs when running in production #1258

Open
kostas-kou opened this issue Jan 12, 2025 · 1 comment
Open

[download] Do not show GIN logs when running in production #1258

kostas-kou opened this issue Jan 12, 2025 · 1 comment
Assignees

Comments

@kostas-kou
Copy link
Contributor

kostas-kou commented Jan 12, 2025

It might not be set in the code to run as production environment

acceptance criteria: big logs from GIN should not clutter the general logs.

demo to show that we still have relevant logs but tidier compared to before the change.

@viklund viklund changed the title [download] Do not show GIN logs from production [download] Do not show GIN logs when running in production Jan 13, 2025
@pahatz pahatz changed the title [download] Do not show GIN logs when running in production [download] Do not show GIN logs from production Jan 13, 2025
@viklund viklund changed the title [download] Do not show GIN logs from production [download] Do not show GIN logs when running in production Jan 13, 2025
@jbygdell
Copy link
Collaborator

gin.SetMode(gin.ReleaseMode)

@MalinAhlberg MalinAhlberg self-assigned this Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants