Title: Create custom logs
Last modified: September 1, 2016

---

# Create custom logs

 *  Resolved [oterox](https://wordpress.org/support/users/oterox/)
 * (@oterox)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/create-custom-logs/)
 * Is it possible to create custom logs for a custom post type?
    Let’s say i have
   a custom post type “books” and i only want to save the log when someone deletes
   a book… Any doc about it? Thank you very much.
 * [https://wordpress.org/plugins/stream/](https://wordpress.org/plugins/stream/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Luke Carbis](https://wordpress.org/support/users/lukecarbis/)
 * (@lukecarbis)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/create-custom-logs/#post-7599733)
 * Hi oterox,
 * Stream should already log custom post types. Although you can’t reduce logging
   to only that one post type, you can filter all the records using the Context 
   filter to only show you books.
 * Hope that helps!
 *  Thread Starter [oterox](https://wordpress.org/support/users/oterox/)
 * (@oterox)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/create-custom-logs/#post-7599779)
 * what i mean is a custom logger like:
    Custom post type, with ACF field “Notes”
   When someone edit a “note” i ONLY want to log that someone has edited a “note”
   and the new content for the field
 *  [Luke Carbis](https://wordpress.org/support/users/lukecarbis/)
 * (@lukecarbis)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/create-custom-logs/#post-7599780)
 * Unfortunately, Stream doesn’t do this out of the box, you would have to develop
   a custom integration for your particular situation.
 *  Thread Starter [oterox](https://wordpress.org/support/users/oterox/)
 * (@oterox)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/create-custom-logs/#post-7599782)
 * Is there any documentation to create that integration? or should i have to figure
   out how to do it?
 * Thank you very much Luke.
 *  [Luke Carbis](https://wordpress.org/support/users/lukecarbis/)
 * (@lukecarbis)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/create-custom-logs/#post-7599783)
 * Unfortunately, great documentation is something we haven’t quite nailed yet. 
   I recommend look at the existing connectors, and copying one of those.
 * Connector_Blogs is a great, simple example, to start with. You can find it in
   class-connector-blogs.php.
 * Let me know if you need any help. You can find me on WordPress Slack if that’s
   more convenient.
 *  Thread Starter [oterox](https://wordpress.org/support/users/oterox/)
 * (@oterox)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/create-custom-logs/#post-7599784)
 * thk Luke,
 * i’ll try to create a connector for logging the custom events, lets see i can 
   make it work 😉
 * I’m on WordPress slack too
 * Best.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Create custom logs’ is closed to new replies.

 * ![](https://ps.w.org/stream/assets/icon.svg?rev=3128015)
 * [Stream](https://wordpress.org/plugins/stream/)
 * [Support Threads](https://wordpress.org/support/plugin/stream/)
 * [Active Topics](https://wordpress.org/support/plugin/stream/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stream/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stream/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [oterox](https://wordpress.org/support/users/oterox/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/create-custom-logs/#post-7599784)
 * Status: resolved