# Nextcloud Event Debugging

**URL:** <https://help.nextcloud.com/t/nextcloud-event-debugging/139633>\
**Category:** 💻 Development\
**Tags:** app-development\
**Created:** [May 26, 2022, 12:24pm UTC](https://help.nextcloud.com/t/nextcloud-event-debugging/139633 "2022-05-26T12:24:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wilfried1](https://help.nextcloud.com/letter_avatar/wilfried1/32/5_5575768a8748004e209b776fc1b2916d.png) [@Wilfried1](https://help.nextcloud.com/u/Wilfried1)\
**Post date:** [May 26, 2022, 12:24pm UTC](https://help.nextcloud.com/t/nextcloud-event-debugging/139633/1 "2022-05-26T12:24:40Z")

</div>

Hello, I can’t figure out if my event is firing or not. I have created “file create” as admin once, that it then outputs “okay event, there is new file”, but my debugger shows nothing.  
How can I have the result show me if I want to be informed as admin. The goal is, for example, that only when an admin creates a new file in a folder, that only another admin is informed via notification/email that a new file has been created. [later I want to insert other events, but not even file create works currently]

please help. Thanks

---

<div class="post-metadata">

**Author:** ![ChristophWurst](https://help.nextcloud.com/user_avatar/help.nextcloud.com/christophwurst/32/51805_2.png) [@ChristophWurst](https://help.nextcloud.com/u/ChristophWurst)\
**Post date:** [May 31, 2022, 2:53pm UTC](https://help.nextcloud.com/t/nextcloud-event-debugging/139633/2 "2022-05-31T14:53:45Z")

</div>

Register a dummy listener that adds a log entry

---

<div class="post-metadata">

**Author:** ![Wilfried1](https://help.nextcloud.com/letter_avatar/wilfried1/32/5_5575768a8748004e209b776fc1b2916d.png) [@Wilfried1](https://help.nextcloud.com/u/Wilfried1)\
**Post date:** [June 24, 2022, 10:24am UTC](https://help.nextcloud.com/t/nextcloud-event-debugging/139633/3 "2022-06-24T10:24:25Z")

</div>

Thank you . I would like to also know what identification or Address could i use to send a message ONLY to Administrators of the Nextcloud?

---

<div class="post-metadata">

**Author:** ![christianlupus](https://help.nextcloud.com/user_avatar/help.nextcloud.com/christianlupus/32/22699_2.png) [@christianlupus](https://help.nextcloud.com/u/christianlupus)\
**Post date:** [September 28, 2022, 5:19am UTC](https://help.nextcloud.com/t/nextcloud-event-debugging/139633/4 "2022-09-28T05:19:13Z")

</div>

By adding a log entry upon all events, you see **if** an event has been fired. Then, you know you have integrated this part successfully. In your handler, you can use the notification system ([1](https://docs.nextcloud.com/server/latest/developer_manual/digging_deeper/notifications.html), [2](https://github.com/nextcloud/notifications#developers)) to send notifications.

You will have to get a list of all users interested in the notification and add notifications for all but this is just a simple loop over the user names.

Does this clear out your question?
