# Logging checked\_for\_custom\_avatar

**URL:** <https://meta.discourse.org/t/logging-checked-for-custom-avatar/23580>\
**Category:** Bug\
**Created:** [January 1, 2015, 6:24pm UTC](https://meta.discourse.org/t/logging-checked-for-custom-avatar/23580 "2015-01-01T18:24:53Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [January 2, 2015, 1:43am UTC](https://meta.discourse.org/t/logging-checked-for-custom-avatar/23580/4 "2015-01-02T01:43:06Z")

</div>

I checked into this, and this is a **per-user history entry** that verifies we looked up their avatar.

```ruby
context "a user who has been checked for a custom avatar" do
      before do
        UserHistory.create!(action: UserHistory.actions[:checked_for_custom_avatar], target_user_id: user.id )
      end

    # Finally, we don't check users whose avatars haven't been examined
    return unless UserHistory.exists_for_user?(@user, :checked_for_custom_avatar)

```

Which logs are you referring to? How are you exporting the _per-user_ history logs? These are not under `admin/logs` AFAIK.

Also do you have 45,525 users? There should only be one of these records per user.

---

_[View the full topic](https://meta.discourse.org/t/logging-checked-for-custom-avatar/23580)._
