You need to send your log files to /var/mongodb/db/mongod.log

I get this error every time I try to validate this lab using: validate_lab_different_logpath. Here’s a screen shot of my .config file…
image

image

What’s the output of:
ps -ef | grep [m]ongo

image

What is the name of the lab?

Chapter 1: The Mongod

Lab - Logging to a Different Facility

The error you get is You need to send … to /var/mongodb/db/mongod.log yet you specify /var/log/mongodb/mongod.log for the destination. Hope you see the difference.

Ha! I didn’t even notice that @steevej-1495

Arghhhhh!..well, that certainly did fix the problem. Thanks for your help! :slight_smile:

Hi @Babak_73387,

I’m glad your issue got resolved. If you have any other query then please feel free to get back to us.

Happy Learning :slight_smile:

Thanks,
Shubham Ranjan
Curriculum Support Engineer