瀏覽代碼

In mongodb 2.6.10, when oplog appears in mongodb.conf, service doesnt start up

pull/4/head
Maciej Relewicz 7 年之前
父節點
當前提交
42ec439fca
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. +3
    -1
      mongodb/files/mongodb.conf

+ 3
- 1
mongodb/files/mongodb.conf 查看文件

@@ -51,7 +51,9 @@ setParameter = logLevel={{ server.logging.get('logLevel', 1) }}
# 2=R
# 3=both
# 7=W+some reads
oplog = {{ server.logging.get('oplogLevel', 0) }}
{%- if server.logging.oplogLevel is defined %}
oplog = {{ server.logging.get('oplogLevel') }}
{%- endif %}

# Diagnostic/debugging option
#nocursors = true

Loading…
取消
儲存