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

All SQL statements are logged with gitea v1.10 by default #9167

Closed
2 of 7 tasks
lhooge opened this issue Nov 26, 2019 · 2 comments
Closed
2 of 7 tasks

All SQL statements are logged with gitea v1.10 by default #9167

lhooge opened this issue Nov 26, 2019 · 2 comments

Comments

@lhooge
Copy link

lhooge commented Nov 26, 2019

Description

I've update gitea to version 1.10.0 and it seems that all statements are being logged because gitea sets showExecTime to true (https://github.com/go-gitea/gitea/blob/master/models/models.go#L154)
In my opinion it should be made configurable with a parameter to log SQL statements for debugging purposes.

@lunny
Copy link
Member

lunny commented Nov 26, 2019

@lhooge
Copy link
Author

lhooge commented Nov 26, 2019

Thank you. Sorry, I didn't see that property.

@lhooge lhooge closed this as completed Nov 26, 2019
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants