Add config option to enable or disable log executed SQL (#3726)

* add config option to enable or disable log executed SQL

* rename ShowSQL to LogSQL
This commit is contained in:
Lunny Xiao 2018-03-30 22:49:46 +08:00 committed by GitHub
parent 45d1fc03cb
commit d877bf7e15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 1 deletions

View file

@ -121,6 +121,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
- `PASSWD`: **\<empty\>**: Database user password. Use \`your password\` for quoting if you use special characters in the password.
- `SSL_MODE`: **disable**: For PostgreSQL only.
- `PATH`: **data/gitea.db**: For SQLite3 only, the database file path.
- `LOG_SQL`: **true**: Log the executed SQL.
## Indexer (`indexer`)