Logpath problem on Chapter 1: Lab "Logging to a Different Facility"

Hello, I’m trying to complete this lab but I have some problems with the logpath and I don’t know what I’m doing wrong. Could you help me, please? Thanks

logpath_problem

  1. logpath is not a item that goes under processManagement : consult documentation https://docs.mongodb.com/manual/reference/configuration-options/ for more details

  2. /var/mongodb/logs/mongod.log is a file, it is not appropriate to mkdir with it.

2 Likes

Hi @Alvaro_Suarez_Lopez,

Read about systemLog options in our documentation.

Let us know if you are still facing any issues.

~ Shubham

1 Like

Thanks to everyone for the help, I will try these options! Also I will let you know the results :slight_smile:

Hello, I have got fork the process but I don’t know why the test results say that Mongod didn’t start with the new logpath.

Do you know why this text is appearing?

Thanks!

1 Like

The message appears because you did not start mongod with the new logpath.

Your path is wrong.

Hi @Alvaro_Suarez_Lopez,

This :point_down:t2:

Please review the requirements mentioned in the lab.

~ Shubham

You’re right thank you so much! I wrote the incorrect logpath :face_with_hand_over_mouth:

1 Like

Your question helped me. thanks so much

2 Likes