title: How to make action logging in Django with Django Rest Framework
body: <p><strong>Good day everyone!</strong></p>
  
  <p>I need to make logging of the actions in Django 1.10.4 with Django Rest Framework and save them in a file.</p>
  
  <p>I have different serializers and functions in them. I've read documentation and not quite understood what I have to do in order to log actions such as CREATE, UPDATE or DELETE with data that I'm sending </p>
  
  <p><strong>For example I have:</strong></p>
  
  <pre><code>class MySerializer(serializers.HyperlinkedModelSerializer):
      def create(self, validated_data):
          ...some code...
          return object
  
      def update(self, instance, validated_data):
          ...some code...
          return instance
  </code></pre>
  
  <p>How can I do this and do you have some references to similar tasks?</p>