-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Component/s: Mongo Orchestration
-
None
-
Not Needed
Summary
When mongodb-runner is in use to bootstrap MongoDB, the mongodb-logs.tar.gz artifact lacks of the server log.
We use the following script to capture the server's logs:
export MONGO_ORCHESTRATION_HOME="$DRIVERS_TOOLS/.evergreen/orchestration"
find $MONGO_ORCHESTRATION_HOME -name \*.log | xargs tar czf mongodb-logs.tar.gz
example of the variant run with mongodb-runner:
example of artifacts using mongo-orchestration script (with extra folder "db" with logs from each node besides the server.log and out.log):