mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Setting mongo syslog location
This commit is contained in:
parent
d414de2f80
commit
ac63b83a82
2 changed files with 5 additions and 4 deletions
|
@ -12,6 +12,7 @@
|
|||
volumes:
|
||||
- /mnt/{{ inventory_hostname | regex_replace('db-|-', '') }}:/data/db
|
||||
- /srv/newsblur/ansible/roles/mongo/templates/mongo.conf:/etc/mongod.conf
|
||||
- /var/log/mongodb/:/var/log/mongodb/
|
||||
|
||||
- name: Register mongo in consul
|
||||
tags: consul
|
||||
|
|
|
@ -13,10 +13,10 @@ storage:
|
|||
# wiredTiger:
|
||||
|
||||
# where to write logging data.
|
||||
# systemLog:
|
||||
# destination: file
|
||||
# logAppend: true
|
||||
# path: /var/log/mongodb/mongod.log
|
||||
systemLog:
|
||||
destination: file
|
||||
logAppend: true
|
||||
path: /var/log/mongodb/mongod.log
|
||||
|
||||
# network interfaces
|
||||
net:
|
||||
|
|
Loading…
Add table
Reference in a new issue