Rasa logs

Hi, Is there a way in which we can print the logs that are printed in the console when we use api debug command in a text file.

Hi @garimaagarwal1007!

You can use the --log-file option to specific the filename when starting the server. You can see this for more information.

Hi @saurabh-m523 that worked. Thanks Also is there a way I can log just the user message and bot utterance in a file.

You can use any of the available tracker stores. Though this stores a lot more information than just the conversation.

@saurabh-m523 I have used tracker-store. But as you said it has a lot of information. Is there no way I can get just simple conversation to log. Using tracker-store I have saved the tracker in mongodb