MongoDB logging
The MongoDB connector produces three sets of logs during normal runtime. Refer to the list below to understand what they are and how you can access them.
-
MongoDB plugin logs
-
The MongoDB connector is built using the plugin framework. Therefore, it adheres to Delphix Continuous Data Engine’s standard connector logging behavior.
-
-
MongoDB Instance logs
-
MongoDB Instance logs are located at
DSOURCE_MOUNT_PATH/logs
(for dSource). -
MongoDB Instance logs are located at
VDB_MOUNT_PATH/logs
(for VDB). -
Delphix log names are in the dlpx.sNmM.port.mongod.log format, where:
-
N = 0,1,2,3,… [Shard Number] [Always 0 for any nonsharded implementation]
-
M = 0,1 OR 2 [Member Number]
-
port = port number of the MongoDB instance.
-
-
-
mongosync logs
-
Only for shardedsource cluster-to-cluster Sync.
-
MongoSync logs are located at
DSOURCE_MOUNT_PATH/.delphix/mongosync/mongosync.log
-
Most of the MongoDB related errors are always hidden in the logfile for the MongoDB instance. Examine logs under DSOURCE_MOUNT_PATH/logs
and VDB_MOUNT_PATH/logs
for further investigation.