Help with debug

Hello friends,
This is sort of a newbie question, when I activate it through the CLI the debug on mfcr2, where is ti saved?
excuse me for my english, it’s not my native.

If you have defined: mfcr2_logdir=log and mfcr2_logging=all in your trunk setup then the log is in /var/log/asterisk/

Also you can use the ‘tee’ command to save the cli output to a text file:

Then enable your R2 debug as usual.