# Need to add logs for, While Create New Users and Adding them to Groups in Hippo CMS

**URL:** <https://community.bloomreach.com/t/need-to-add-logs-for-while-create-new-users-and-adding-them-to-groups-in-hippo-cms/761>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [January 30, 2019, 7:15am UTC](https://community.bloomreach.com/t/need-to-add-logs-for-while-create-new-users-and-adding-them-to-groups-in-hippo-cms/761 "2019-01-30T07:15:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gkr](https://avatars.discourse-cdn.com/v4/letter/g/e480ec/32.png) [@gkr](https://community.bloomreach.com/u/gkr)\
**Post date:** [January 30, 2019, 7:15am UTC](https://community.bloomreach.com/t/need-to-add-logs-for-while-create-new-users-and-adding-them-to-groups-in-hippo-cms/761/1 "2019-01-30T07:15:07Z")

</div>

Hello Guys,

We have a requirement, at the time of Creating, Assigning them to any Groups we need to log those details for internal tracking purpose…  
Kindly could you please help me out, how i can do this.

I am new to Hippo…

thanks in Advance

---

<div class="post-metadata">

**Author:** ![jasper.floor](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/jasper.floor/32/28_2.png) [@jasper.floor](https://community.bloomreach.com/u/jasper.floor)\
**Post date:** [January 30, 2019, 9:37am UTC](https://community.bloomreach.com/t/need-to-add-logs-for-while-create-new-users-and-adding-them-to-groups-in-hippo-cms/761/2 "2019-01-30T09:37:55Z")

</div>

These things are logged in the audit log (found in tomcat logs) and also in the repository in the hippo:log. If you need this data from the hippo:log you should write something to search and collate because there is more logged here and it isn’t ordered to be nice to humans.

---

<div class="post-metadata">

**Author:** ![gkr](https://avatars.discourse-cdn.com/v4/letter/g/e480ec/32.png) [@gkr](https://community.bloomreach.com/u/gkr)\
**Post date:** [January 30, 2019, 10:15am UTC](https://community.bloomreach.com/t/need-to-add-logs-for-while-create-new-users-and-adding-them-to-groups-in-hippo-cms/761/3 "2019-01-30T10:15:29Z")

</div>

Hello Jasper,  
Thanks for your reply.

I could’t see in audit logs of my local Hippo cms.  
Could you please let me know if i need to add any configuration stuff for that …

Could you please guide me way to read/search hippo.log …

Regards  
Ganesh

---

<div class="post-metadata">

**Author:** ![jasper.floor](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/jasper.floor/32/28_2.png) [@jasper.floor](https://community.bloomreach.com/u/jasper.floor)\
**Post date:** [January 30, 2019, 10:52am UTC](https://community.bloomreach.com/t/need-to-add-logs-for-while-create-new-users-and-adding-them-to-groups-in-hippo-cms/761/4 "2019-01-30T10:52:06Z")

</div>

This should be available by default. It’s called `hippo-audit.log` pre 13, or just `audit.log` in 13.

logging will look like:

```
30.01.2019 10:34:50 INFO pool-3-thread-1 [AuditLogger.logHippoEvent:45] {"application":"cms","action":"create-user","category":"user-management","message":"created user ab","user":"admin","timestamp":1548840890027}
30.01.2019 10:35:20 INFO pool-3-thread-1 [AuditLogger.logHippoEvent:45] {"application":"cms","action":"add-user-to-group","category":"group-management","message":"added user ab to group admin","user":"admin","timestamp":1548840920734}
```

---

<div class="post-metadata">

**Author:** ![gkr](https://avatars.discourse-cdn.com/v4/letter/g/e480ec/32.png) [@gkr](https://community.bloomreach.com/u/gkr)\
**Post date:** [January 30, 2019, 1:40pm UTC](https://community.bloomreach.com/t/need-to-add-logs-for-while-create-new-users-and-adding-them-to-groups-in-hippo-cms/761/5 "2019-01-30T13:40:43Z")

</div>

Hello Jasper,

Thanks for quick reply…  
we are using Hippo 12.5

---

<div class="post-metadata">

**Author:** ![jasper.floor](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/jasper.floor/32/28_2.png) [@jasper.floor](https://community.bloomreach.com/u/jasper.floor)\
**Post date:** [January 30, 2019, 2:38pm UTC](https://community.bloomreach.com/t/need-to-add-logs-for-while-create-new-users-and-adding-them-to-groups-in-hippo-cms/761/6 "2019-01-30T14:38:23Z")

</div>

You can find the audit log in your tomcat logs folder. If you are running with cargo this will be in  
`target/tomcat8x/logs/hippo-audit.log`

On a server it depends on your setup, but likely still in tomcat/logs. Unless you made changes to logging configuration this is how it works.

You can also find this in the repository. In the console you will see a node `hippo:log`. Logging is also in here. You can use the repository servlet to query information. Or you can write a groovy script. Or you can write a custom report:

> **[Add a Custom Report to the Reporting Dashboard - Enterprise Java Content...](https://www.onehippo.org/library/reporting/add-a-custom-report-to-the-reporting-dashboard.html)**
>
> Hippo Open Source Enterprise Content Management

The information is all there for you.

Note that event log in the repository is (should be) regularly “cleaned”. This is enabled by default.

> **[Event Log Cleanup - Enterprise Java Content management system - Hippo CMS](https://www.onehippo.org/library/administration/maintenance/event-log-cleanup.html)**
>
> Hippo Open Source Enterprise Content Management

Your tomcat logs are cleaned according to whatever schedule you set on your servers.

---

<div class="post-metadata">

**Author:** ![gkr](https://avatars.discourse-cdn.com/v4/letter/g/e480ec/32.png) [@gkr](https://community.bloomreach.com/u/gkr)\
**Post date:** [January 31, 2019, 4:57am UTC](https://community.bloomreach.com/t/need-to-add-logs-for-while-create-new-users-and-adding-them-to-groups-in-hippo-cms/761/7 "2019-01-31T04:57:08Z")

</div>

Hello Jasper,

I got it, thanks your time and I really appreciate your timely reply.
