diff options
| author | David M. Carr | 2012-08-06 10:44:54 -0400 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-06 11:07:35 -0700 |
| commit | c01f92ea3f27d26086f2421f3f615f417cd882e9 (patch) | |
| tree | 49d6250270230f3a1edca8e53703bbfe0aa6f72e /Library/Formula/mongodb.rb | |
| parent | 69375b81e583e7063c45c4551182421d4c7058e3 (diff) | |
| download | homebrew-c01f92ea3f27d26086f2421f3f615f417cd882e9.tar.bz2 | |
mongodb: include logging configuration in default mongod.conf file
Closes #14006.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/mongodb.rb')
| -rw-r--r-- | Library/Formula/mongodb.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/mongodb.rb b/Library/Formula/mongodb.rb index c1fd6d101..995c53232 100644 --- a/Library/Formula/mongodb.rb +++ b/Library/Formula/mongodb.rb @@ -70,6 +70,10 @@ class Mongodb < Formula # Store data in #{var}/mongodb instead of the default /data/db dbpath = #{var}/mongodb + # Append logs to #{var}/log/mongodb/mongo.log + logpath = #{var}/log/mongodb/mongo.log + logappend = true + # Only accept local connections bind_ip = 127.0.0.1 EOS |
