diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2018-03-30 22:49:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-30 22:49:46 +0800 |
commit | d877bf7e15ebd5d9a74e58f3999e3276e76fa15e (patch) | |
tree | 5534d0ff2a65ae1d17318476e1aae164eb2739ec /custom | |
parent | 45d1fc03cb043b585c81d15163184be7691f5fc8 (diff) | |
download | gitea-d877bf7e15ebd5d9a74e58f3999e3276e76fa15e.tar.gz gitea-d877bf7e15ebd5d9a74e58f3999e3276e76fa15e.zip |
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
Diffstat (limited to 'custom')
-rw-r--r-- | custom/conf/app.ini.sample | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/custom/conf/app.ini.sample b/custom/conf/app.ini.sample index 7876f0a7b6..3bd5a9c270 100644 --- a/custom/conf/app.ini.sample +++ b/custom/conf/app.ini.sample @@ -210,6 +210,8 @@ PATH = data/gitea.db SQLITE_TIMEOUT = 500 ; For iterate buffer, default is 50 ITERATE_BUFFER_SIZE = 50 +; Show the database generated SQL +LOG_SQL = true [indexer] ISSUE_INDEXER_PATH = indexers/issues.bleve |