How to create log file in actions server

Tnx for your answer, but do you know how I can access the user input text, the extracted slots and intents, and the output text produced by rasa? @ prasgaut