configureable logging levels in conf
diff --git a/README.rst b/README.rst
index bf44925..e596552 100644
--- a/README.rst
+++ b/README.rst
@@ -91,6 +91,10 @@
     mongodb:
       server:
         enabled: true
+        logging:
+          verbose: false
+          logLevel: 1
+          oplogLevel: 0
         admin:
           user: admin
           password: magicunicorn
diff --git a/mongodb/files/mongodb.conf b/mongodb/files/mongodb.conf
index 58924e2..3dcd195 100644
--- a/mongodb/files/mongodb.conf
+++ b/mongodb/files/mongodb.conf
@@ -29,9 +29,6 @@
 #noauth = true
 auth = true
 
-# Verbose logging output.
-verbose = true
-
 # Inspect all client data for validity on receipt (useful for
 # developing drivers)
 #objcheck = true
@@ -39,18 +36,23 @@
 # Enable db quota management
 #quota = true
 
-setParameter = logLevel=1
-
 #OpenStack guide for Juno
 smallfiles = true
 
+
+# Verbose logging output.
+verbose = {{ server.logging.get('verbose', 'false') }}
+
+# logLevel
+setParameter = logLevel={{ server.logging.get('logLevel', 1) }}
+
 # Set oplogging level where n is
 #   0=off (default)
 #   1=W
 #   2=R
 #   3=both
 #   7=W+some reads
-#oplog = 0
+oplog = {{ server.logging.get('oplogLevel', 0) }}
 
 # Diagnostic/debugging option
 #nocursors = true
diff --git a/mongodb/map.jinja b/mongodb/map.jinja
index 63f3705..983f3f0 100644
--- a/mongodb/map.jinja
+++ b/mongodb/map.jinja
@@ -3,6 +3,7 @@
         'pkgs': ['mongodb-server', 'mongodb', 'python-pymongo', 'mongodb-clients'],
         'service': 'mongodb',
         'lock_dir': "/var/lock/mongodb",
+        'logging': {},
         'bind': {
           'address': '0.0.0.0',
           'port': 27017
@@ -17,6 +18,7 @@
         'pkgs': ['mongodb-server', 'mongodb', 'python-pymongo', 'mongodb-clients'],
         'service': 'mongod',
         'lock_dir': "/var/lock/mongodb",
+        'logging': {},
         'bind': {
           'address': '0.0.0.0',
           'port': 27017