Skip to content

Commit 42c84d1

Browse files
authored
Merge pull request #491 from hxy7yx/v2.10-1
[v2.10]update launch configuration options
2 parents b4ed9e0 + 11a1c2f commit 42c84d1

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

en_US/admin/conf-management.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,20 @@ Neuron supports reading environment variables during the startup process to conf
2020
| NEURON_DISABLE_AUTH | Set to 1, Neuron turns off Token authentication and authentication; set to 0, Neuron turns on Token authentication and authentication |
2121
| NNEURON_CONFIG_DIR | Neuron configuration file directory |
2222
| NEURON_PLUGIN_DIR | Neuron plug-in file directory |
23+
| NEURON_SUB_FILTER_ERROR | Set to 1, the 'subscribe' attribute only detects the normal value read last time, and does not report any error codes to north apps|
2324

2425

2526
## Configuration File
2627

27-
Neuron provides json format configuration files to configure Neuron-related personalized parameters. Currently, it supports three configuration items: ip, port and disable_auth. The configuration file path is the neuron installation directory config/neuron.json. The default configuration content is as follows:
28+
Neuron provides json format configuration files to configure Neuron-related personalized parameters. The configuration file path is the neuron installation directory config/neuron.json. The default configuration content is as follows:
2829

2930
```json
3031
{
31-
"ip": "0.0.0.0",
32-
"port": 7000,
33-
"disable_auth": 0
32+
"ip": "0.0.0.0",
33+
"port": 7000,
34+
"disable_auth": 0,
35+
"syslog_host": "",
36+
"syslog_port": 541,
37+
"sub_filter_error": 0
3438
}
3539
```

zh_CN/admin/conf-management.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,19 @@ Neuron 支持在启动过程中读取环境变量来配置启动参数,目前
2020
| NEURON_DISABLE_AUTH | 设置为1,Neuron 关闭Token鉴权认证;设置为0,Neuron 开启Token鉴权认证 |
2121
| NNEURON_CONFIG_DIR | Neuron配置文件目录 |
2222
| NEURON_PLUGIN_DIR | Neuron插件文件目录 |
23+
| NEURON_SUB_FILTER_ERROR | 设置为 1,subscribe 属性的点位仅检测上次读取正常的值,北向不上报任何错误代码 |
2324

2425

2526
## 配置文件
2627

27-
Neuron提供 json 格式配置文件配置Neuron相关个性化参数,目前支持 ip,port 和 disable_auth 三个配置项目,配置文件路径为neuron安装目录config/neuron.json。默认配置内容如下:
28+
Neuron 提供 json 格式配置文件配置 Neuron 相关个性化参数,配置文件路径为 neuron 安装目录 config/neuron.json。默认配置内容如下:
2829
```json
2930
{
30-
"ip": "0.0.0.0",
31-
"port": 7000,
32-
"disable_auth": 0
31+
"ip": "0.0.0.0",
32+
"port": 7000,
33+
"disable_auth": 0,
34+
"syslog_host": "",
35+
"syslog_port": 541,
36+
"sub_filter_error": 0
3337
}
3438
```

0 commit comments

Comments
 (0)