mongodb: Logging fixes
This commit is contained in:
parent
14b7cf0b2d
commit
2ea2a480e0
1 changed files with 6 additions and 8 deletions
|
@ -1,21 +1,19 @@
|
||||||
# mongodb.conf
|
# mongodb.conf
|
||||||
|
|
||||||
#where to log
|
dbpath=/srv/mongodb
|
||||||
|
pidfilepath=/var/run/mongodb/mongodb.pid
|
||||||
|
|
||||||
|
# where to log
|
||||||
logpath=/var/log/mongodb/mongodb.log
|
logpath=/var/log/mongodb/mongodb.log
|
||||||
|
logappend = true
|
||||||
|
|
||||||
# fork and run in background
|
# fork and run in background
|
||||||
fork = true
|
fork = true
|
||||||
|
|
||||||
|
# bind to localhost
|
||||||
bind_ip = 127.0.0.1
|
bind_ip = 127.0.0.1
|
||||||
port = 27017
|
port = 27017
|
||||||
|
|
||||||
dbpath=/srv/mongodb
|
|
||||||
|
|
||||||
pidfilepath=/var/run/mongodb/mongodb.pid
|
|
||||||
|
|
||||||
# Enables periodic logging of CPU utilization and I/O wait
|
|
||||||
cpu = true
|
|
||||||
|
|
||||||
# Turn on/off security. Off is currently the default
|
# Turn on/off security. Off is currently the default
|
||||||
auth = true
|
auth = true
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue