diff options
| author | Clément Michaud <clement.michaud34@gmail.com> | 2020-03-09 20:57:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-09 20:57:53 +0100 |
| commit | c429488738ae97b29794cf589d41c93037d3f7f2 (patch) | |
| tree | fac4fb09db8d3054f3a540af52765d182e3b37fc /internal/configuration/schema/configuration.go | |
| parent | 6af27cb3f957df1dad5bfeca34baa963d7318284 (diff) | |
[FEATURE] [BREAKING] Support writing logs in a file. (#686)
* [FEATURE] Support writing logs in a file.
* Add documentation about logs file path.
* Rename logs_level and logs_file_path into log_level and log_file_path.
* Update BREAKING.md
Fixes #338
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
Diffstat (limited to 'internal/configuration/schema/configuration.go')
| -rw-r--r-- | internal/configuration/schema/configuration.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/configuration/schema/configuration.go b/internal/configuration/schema/configuration.go index d7c518cac..f4178ca7e 100644 --- a/internal/configuration/schema/configuration.go +++ b/internal/configuration/schema/configuration.go @@ -7,7 +7,8 @@ type Configuration struct { TLSCert string `mapstructure:"tls_cert"` TLSKey string `mapstructure:"tls_key"` - LogsLevel string `mapstructure:"logs_level"` + LogLevel string `mapstructure:"log_level"` + LogFilePath string `mapstructure:"log_file_path"` // This secret is used by the identity validation process to forge JWT tokens // representing the permission to proceed with the operation. |
