# Extra Admin logs generated on category edit

**URL:** https://meta.discourse.org/t/extra-admin-logs-generated-on-category-edit/36345
**Category:** Bug
**Created:** [December 5, 2015, 4:00am UTC](https://meta.discourse.org/t/extra-admin-logs-generated-on-category-edit/36345 "2015-12-05T04:00:02Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [December 5, 2015, 4:00am UTC](https://meta.discourse.org/t/extra-admin-logs-generated-on-category-edit/36345/1 "2015-12-05T04:00:03Z")

</div>

Recently I was adding category logos to a Discourse instance, and after completing the edits went in to review the logs. While reviewing I noticed that extraneous logs were being generated despite not modifying the settings in question. The only change I made was the category logo, so I am unsure why permission, background url, and topic template appear as well. Repro steps are as follows:

1. Go to category page (`$site_url/c/category_name`)
2. Click edit
3. Click images tab
4. Click image button for Category Logo Image
5. Browse to and select `png` or `jpg` image
6. Wait for upload
7. Click Save Category
8. Check logs

 ![](https://global.discourse-cdn.com/meta/original/3X/5/0/50c78e6049d9929a0d0bd0fc7ce234a8c805cbab.png)

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [December 5, 2015, 4:10am UTC](https://meta.discourse.org/t/extra-admin-logs-generated-on-category-edit/36345/2 "2015-12-05T04:10:18Z")

</div>

Were some outside of the scroll, overflow?  
If not, can you determine what it is that might have caused the difference?

```
catId	perms	logoU	logoT	bkgdU
24	+	+	+	+
25	+	+	
26 +
27	+	+

```

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [December 5, 2015, 4:12am UTC](https://meta.discourse.org/t/extra-admin-logs-generated-on-category-edit/36345/3 "2015-12-05T04:12:10Z")

</div>

Yes, many were outside of my screenshot, I updated almost every category. Give me a few minutes to export the logs and look at the different logs per category.

~~Will update…~~

 ![](https://global.discourse-cdn.com/meta/original/3X/f/e/feb8f83ec5b362d828ec9e561c588a0c66593718.png)

Can’t seem to find a common link there…

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [December 5, 2015, 7:38am UTC](https://meta.discourse.org/t/extra-admin-logs-generated-on-category-edit/36345/4 "2015-12-05T07:38:08Z")

</div>

I implemented logging of categories setting sometime back so I’ll take a look soon 😄

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [December 6, 2015, 7:31am UTC](https://meta.discourse.org/t/extra-admin-logs-generated-on-category-edit/36345/5 "2015-12-06T07:31:13Z")

</div>

Thanks for reporting @jomaxro 😄 This was indeed a bug and I just submitted a PR to fix!

[https://github.com/discourse/discourse/pull/3912/files](https://github.com/discourse/discourse/pull/3912/files)

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [December 6, 2015, 7:34am UTC](https://meta.discourse.org/t/extra-admin-logs-generated-on-category-edit/36345/6 "2015-12-06T07:34:48Z")

</div>

Great, thank you! Feel free to close up this thread.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [December 6, 2015, 9:07am UTC](https://meta.discourse.org/t/extra-admin-logs-generated-on-category-edit/36345/7 "2015-12-06T09:07:51Z")

</div>


