mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-18 12:07:31 -06:00
[feature] Add log-db-queries config option (#465)
This commit is contained in:
parent
e74ec70dbf
commit
094f032f74
11 changed files with 43 additions and 15 deletions
|
|
@ -21,8 +21,9 @@ package config
|
|||
// KeyNames is a struct that just contains the names of configuration keys.
|
||||
type KeyNames struct {
|
||||
// root
|
||||
LogLevel string
|
||||
ConfigPath string
|
||||
LogLevel string
|
||||
LogDbQueries string
|
||||
ConfigPath string
|
||||
|
||||
// general
|
||||
ApplicationName string
|
||||
|
|
@ -109,6 +110,7 @@ type KeyNames struct {
|
|||
// and retrieving values from the viper config store.
|
||||
var Keys = KeyNames{
|
||||
LogLevel: "log-level",
|
||||
LogDbQueries: "log-db-queries",
|
||||
ApplicationName: "application-name",
|
||||
ConfigPath: "config-path",
|
||||
Host: "host",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue