# MongoDB single connection end point
com.moonlit.logfaces.config.mongodb.host    = localhost
com.moonlit.logfaces.config.mongodb.port    = 27017

# MongoDB multiple connection end points
# comma separated list of host:port pairs, 
# working pair will be selected and swapped automatically (for example when using replica sets)
#com.moonlit.logfaces.config.mongodb.connection   = localhost:27017,localhost:27018,localhost:27019

# MongoDB write concern controls the write behavior as well as exception raising on error conditions
# NONE - don't even report network errors
# NORMAL - default, don't call getLastError by default (write and forget)
# SAFE - call getLastError, but don't wait for slaves
# REPLICAS_SAFE - wait for slaves
# FSYNC_SAFE - force fsync to disk
com.moonlit.logfaces.config.mongodb.writeConcern = NORMAL

# when querying a replica set, drivers route their requests to the master mongod by default; 
# to perform a query against an (arbitrarily-selected) secondary, the query can be run 
# with the slaveOk option
com.moonlit.logfaces.config.mongodb.salveOK = true

# MongoDB database name  
com.moonlit.logfaces.config.mongodb.dbname  = logfaces

# force to use capped collection and its size in MB
com.moonlit.logfaces.config.mongodb.capped = false
com.moonlit.logfaces.config.mongodb.cappedSize = 0

# MongoDB list of indexes to create  
com.moonlit.logfaces.config.mongodb.indexes = loggerTimeStamp,loggerLevel,thrown,domainName,loggerName,hostName 

# MongoDB scheduled maintenance options for rebuilding indexes repairing disk storage  
com.moonlit.logfaces.config.mongodb.maint.indexes = true
com.moonlit.logfaces.config.mongodb.maint.repair = true