I did some research and found that is possible to show a log in the console using two lines of code:
RKLogConfigureByName("RestKit/Network", RKLogLevelTrace);
RKLogConfigureByName("RestKit/ObjectMapping", RKLogLevelTrace);
But I want to save the request and response to a text file.