Dynamic NLog path


#1

Hi all!

I am trying to manage log files and I would like to change the path in which the bot writes log files.

I have checked the Nlog.config file as many of you suggested here but I would like to set a dynamic path that contains the name of the robot so that every robot will write in their own folder.

Can anyone tell me whether this is feasible?
If it is how can I do that?

I would like to have something like:
Documents\Robot_1\Logs
Documents\Robot_2\Logs

Documents\Robot_N\Logs

Thank you so much,

Erika