home: imp docs
This commit is contained in:
parent
7658c9b107
commit
d3c64e03a5
|
@ -458,11 +458,13 @@ var config = &configuration{
|
||||||
},
|
},
|
||||||
Log: logSettings{
|
Log: logSettings{
|
||||||
Enabled: true,
|
Enabled: true,
|
||||||
Compress: false,
|
File: "",
|
||||||
LocalTime: false,
|
|
||||||
MaxBackups: 0,
|
MaxBackups: 0,
|
||||||
MaxSize: 100,
|
MaxSize: 100,
|
||||||
MaxAge: 3,
|
MaxAge: 3,
|
||||||
|
Compress: false,
|
||||||
|
LocalTime: false,
|
||||||
|
Verbose: false,
|
||||||
},
|
},
|
||||||
OSConfig: &osConfig{},
|
OSConfig: &osConfig{},
|
||||||
SchemaVersion: configmigrate.LastSchemaVersion,
|
SchemaVersion: configmigrate.LastSchemaVersion,
|
||||||
|
|
|
@ -93,6 +93,8 @@ func getLogSettings(opts options) (ls *logSettings) {
|
||||||
// separate method in order to configure logger before the actual configuration
|
// separate method in order to configure logger before the actual configuration
|
||||||
// is parsed and applied.
|
// is parsed and applied.
|
||||||
func readLogSettings() (ls *logSettings) {
|
func readLogSettings() (ls *logSettings) {
|
||||||
|
// TODO(s.chzhen): Add a helper function that returns default parameters
|
||||||
|
// for this structure and for the global configuration structure [config].
|
||||||
conf := &configuration{
|
conf := &configuration{
|
||||||
Log: logSettings{
|
Log: logSettings{
|
||||||
// By default, it is true if the property does not exist.
|
// By default, it is true if the property does not exist.
|
||||||
|
|
Loading…
Reference in New Issue