From 2853fa1882e2f3b51e3603e3abaeba6e89834c4f Mon Sep 17 00:00:00 2001 From: kannappanr <30541348+kannappanr@users.noreply.github.com> Date: Mon, 11 Dec 2017 13:20:05 -0800 Subject: [PATCH] Remove logger field info from docs (#5281) Logger field is removed from the docs, as it has been removed from the config file. --- docs/config/README.md | 10 ---------- docs/config/config.sample.json | 23 +++++++++++++---------- docs/zh_CN/config/README.md | 10 ---------- 3 files changed, 13 insertions(+), 30 deletions(-) diff --git a/docs/config/README.md b/docs/config/README.md index 8ba5b4fe4..011fc7106 100644 --- a/docs/config/README.md +++ b/docs/config/README.md @@ -83,16 +83,6 @@ export MINIO_DOMAIN=mydomain.com 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 |Field|Type|Description| |:---|:---|:---| diff --git a/docs/config/config.sample.json b/docs/config/config.sample.json index cb4673928..a16773e3e 100644 --- a/docs/config/config.sample.json +++ b/docs/config/config.sample.json @@ -1,20 +1,12 @@ { - "version": "16", + "version": "21", "credential": { "accessKey": "USWUXHGYZQYFYFFIT3RE", "secretKey": "MOJRH0mkL1IPauahWITSVvyDrQbEEIwljvmxdq03" }, "region": "us-east-1", "browser": "on", - "logger": { - "console": { - "enable": true - }, - "file": { - "enable": false, - "filename": "" - } - }, + "domain": "", "notify": { "amqp": { "1": { @@ -106,6 +98,17 @@ "password": "password", "database": "miniodb" } + }, + "mqtt": { + "1": { + "enable": false, + "broker": "tcp://localhost:1883", + "topic": "minio", + "qos": 1, + "clientId": "minio", + "username": "", + "password": "" + } } } } diff --git a/docs/zh_CN/config/README.md b/docs/zh_CN/config/README.md index f1812a14d..fb36a4fe9 100644 --- a/docs/zh_CN/config/README.md +++ b/docs/zh_CN/config/README.md @@ -69,16 +69,6 @@ export MINIO_BROWSER=off 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_ | - #### 通知 |参数|类型|描述| |:---|:---|:---|