Remove logger field info from docs (#5281)

Logger field is removed from the docs,
as it has been removed from the config file.
master
kannappanr 7 years ago committed by Dee Koder
parent 1672c73988
commit 2853fa1882
  1. 10
      docs/config/README.md
  2. 23
      docs/config/config.sample.json
  3. 10
      docs/zh_CN/config/README.md

@ -83,16 +83,6 @@ export MINIO_DOMAIN=mydomain.com
minio server /data minio server /data
``` ```
#### Logger
|Field|Type|Description|
|:---|:---|:---|
|``logger ``| |Server logs errors and fatal messages via logger. You may enable one or more loggers at the same time.|
|``logger.console``| |Send log messages to console.|
|``logger.console.enable``| _bool_ | Enable or disable console logger. Default is set to _true_.|
|``logger.file``| |Send log message to a file.|
|``logger.file.enable``| _bool_ | Enable or disable file logger. Default is set to _false_.|
|``logger.file.filename``| _string_ | Path and name of the log file. Example: _/var/log/minio.log_ |
#### Notify #### Notify
|Field|Type|Description| |Field|Type|Description|
|:---|:---|:---| |:---|:---|:---|

@ -1,20 +1,12 @@
{ {
"version": "16", "version": "21",
"credential": { "credential": {
"accessKey": "USWUXHGYZQYFYFFIT3RE", "accessKey": "USWUXHGYZQYFYFFIT3RE",
"secretKey": "MOJRH0mkL1IPauahWITSVvyDrQbEEIwljvmxdq03" "secretKey": "MOJRH0mkL1IPauahWITSVvyDrQbEEIwljvmxdq03"
}, },
"region": "us-east-1", "region": "us-east-1",
"browser": "on", "browser": "on",
"logger": { "domain": "",
"console": {
"enable": true
},
"file": {
"enable": false,
"filename": ""
}
},
"notify": { "notify": {
"amqp": { "amqp": {
"1": { "1": {
@ -106,6 +98,17 @@
"password": "password", "password": "password",
"database": "miniodb" "database": "miniodb"
} }
},
"mqtt": {
"1": {
"enable": false,
"broker": "tcp://localhost:1883",
"topic": "minio",
"qos": 1,
"clientId": "minio",
"username": "",
"password": ""
}
} }
} }
} }

@ -69,16 +69,6 @@ export MINIO_BROWSER=off
minio server /data minio server /data
``` ```
#### 日志记录
|参数|类型|描述|
|:---|:---|:---|
|``logger ``| |服务通过logger记录error或者fatal(致命)错误,你可以同时开启多个logger。|
|``logger.console``| |将日志信息发送到控制台|
|``logger.console.enable``| _bool_ | 是否开启控制台日志输出,默认是开启|
|``logger.file``| |发送日志信息到文件|
|``logger.file.enable``| _bool_ | 是否开启文件日志记录,默认是关闭。|
|``logger.file.filename``| _string_ |文件日志的输出路径, 比如: _/var/log/minio.log_ |
#### 通知 #### 通知
|参数|类型|描述| |参数|类型|描述|
|:---|:---|:---| |:---|:---|:---|

Loading…
Cancel
Save