---
title: Monitoring events using diagnostic logs
description: Wykorzystanie logów diagnostycznych do monitorowania zdarzeń.
---

[Skip to content](https://knowledgebase.grenton.com/en/monitoring-events-using-diagnostic-logs#main-content)

- [English](https://knowledgebase.grenton.com/en/monitoring-events-using-diagnostic-logs)
- [Polski](https://knowledgebase.grenton.com/pl/monitorowanie-zdarzeń-przy-pomocy-logów-diagnostycznych)

English

Show submenu for translations

[New ticket](https://knowledgebase.grenton.com/en/kb-tickets/new?hsLang=en) [Customer portal](https://knowledgebase.grenton.com/wsparcie?hsLang=en)

![Logo\_Grenton\_Main\_2020\_RGB\_v1.0-1.png\]](https://knowledgebase.grenton.com/hs-fs/hubfs/Logo_Grenton_Main_2020_RGB_v1.0-1.png?width=200&height=94&name=Logo_Grenton_Main_2020_RGB_v1.0-1.png)

Open main navigation

Close main navigation

- - [English](https://knowledgebase.grenton.com/en/monitoring-events-using-diagnostic-logs)
    - [Polski](https://knowledgebase.grenton.com/pl/monitorowanie-zdarzeń-przy-pomocy-logów-diagnostycznych)

  English
  
  Show submenu for translations
- [New ticket](https://knowledgebase.grenton.com/en/kb-tickets/new)
- [Customer portal](https://knowledgebase.grenton.com/wsparcie)
- [Trainings](https://www.grenton.com/cooperation/trainings.html)

[Trainings](https://www.grenton.com/cooperation/trainings.html)

 Hello. How can we help you?

- There are no suggestions because the search field is empty.

1. [Knowledge Base](https://knowledgebase.grenton.com/en?hsLang=en)
2. [Manuals](https://knowledgebase.grenton.com/en/manuals?hsLang=en)
3. [Configuration](https://knowledgebase.grenton.com/en/manuals?hsLang=en#configuration)

# Monitoring events using diagnostic logs

Note! Diagnostic logging support for CLU was released in version 5.10.03-2248. Please refer to our [system manual](https://grentonsmarthome.github.io/release-en/manuals/) for details.

The mentioned diagnostic logs can be used, among other things, to monitoring events generated by objects. This function will be useful for determining the source of the control signal when the output object is controlled from several inputs.

For this purpose you should:  
1\. Run diagnostic logs by setting the *TelnetLogLevel* feature to *Debug*:  
![](https://knowledgebase.grenton.com/hs-fs/hubfs/image-png-Jun-21-2024-08-05-42-7438-AM.png?width=688&height=529&name=image-png-Jun-21-2024-08-05-42-7438-AM.png)  
Note! After sending the configuration, the *ON* and *ERR* LEDs on the CLU will flash simultaneously.

2\. Create a script (*s\_logging*) with the following content:

```
print(CLU->Time .. ",  " .. name .. ",  " .. event)
```

where *name* and *event* are parameters of the mentioned script:  
![](https://knowledgebase.grenton.com/hs-fs/hubfs/image-png-Jun-20-2024-01-21-38-4442-PM.png?width=556&height=485&name=image-png-Jun-20-2024-01-21-38-4442-PM.png)  
3\. Calling the script with appropriate parameter values assign to the events of selected objects, e.g.:  
![](https://knowledgebase.grenton.com/hs-fs/hubfs/image-png-Jun-20-2024-01-24-04-8142-PM.png?width=688&height=468&name=image-png-Jun-20-2024-01-24-04-8142-PM.png)  
![](https://knowledgebase.grenton.com/hs-fs/hubfs/image-png-Jun-20-2024-01-24-48-4088-PM.png?width=688&height=529&name=image-png-Jun-20-2024-01-24-48-4088-PM.png)  
![](https://knowledgebase.grenton.com/hs-fs/hubfs/image-png-Jun-20-2024-01-25-14-9197-PM.png?width=688&height=529&name=image-png-Jun-20-2024-01-25-14-9197-PM.png)  
![](https://knowledgebase.grenton.com/hs-fs/hubfs/image-png-Jun-20-2024-01-25-52-9907-PM.png?width=688&height=529&name=image-png-Jun-20-2024-01-25-52-9907-PM.png)

 4\. Send the configuration to the CLU.

After sending the configuration, the generated events can be viewed in diagnostic logs or via Telnet (port 23):  
![](https://knowledgebase.grenton.com/hs-fs/hubfs/image-png-Jun-20-2024-01-28-32-0689-PM.png?width=688&height=318&name=image-png-Jun-20-2024-01-28-32-0689-PM.png)  
![](https://knowledgebase.grenton.com/hs-fs/hubfs/image-png-Jun-20-2024-01-31-22-4221-PM.png?width=653&height=290&name=image-png-Jun-20-2024-01-31-22-4221-PM.png)

- [Installation guidelines](https://knowledgebase.grenton.com/en/installation-guidelines?hsLang=en#main-content)

    - [How to Prepare Electrical Installation](https://knowledgebase.grenton.com/en/installation-guidelines?hsLang=en#how-to-prepare-electrical-installation)
- [Reference devices](https://knowledgebase.grenton.com/en/reference-devices?hsLang=en#main-content)

    - [Integrated Device](https://knowledgebase.grenton.com/en/reference-devices?hsLang=en#integrated-device)
- [Most Common Mistakes](https://knowledgebase.grenton.com/en/most-common-mistakes?hsLang=en)
- [Electrical Installation](https://knowledgebase.grenton.com/en/electrical-installation?hsLang=en)
- [Manuals](https://knowledgebase.grenton.com/en/manuals?hsLang=en#main-content)

    - [Gate Modbus](https://knowledgebase.grenton.com/en/manuals?hsLang=en#gate-modbus)
    - [Training](https://knowledgebase.grenton.com/en/manuals?hsLang=en#training)
    - [SW Applications](https://knowledgebase.grenton.com/en/manuals?hsLang=en#sw-applications)
    - [Gate HTTP](https://knowledgebase.grenton.com/en/manuals?hsLang=en#gate-http)
    - [Smart Panel](https://knowledgebase.grenton.com/en/manuals?hsLang=en#smart-panel)
    - [Configuration](https://knowledgebase.grenton.com/en/manuals?hsLang=en#configuration)
    - [myGrenton interfaces](https://knowledgebase.grenton.com/en/manuals?hsLang=en#mygrenton-interfaces)
    - [Virtual Objects](https://knowledgebase.grenton.com/en/manuals?hsLang=en#virtual-objects)
    - [Gate Alarm](https://knowledgebase.grenton.com/en/manuals?hsLang=en#gate-alarm)
- [Intercom](https://knowledgebase.grenton.com/en/intercom?hsLang=en)
- [FAQ](https://knowledgebase.grenton.com/en/faq?hsLang=en#main-content)

    - [FAQ](https://knowledgebase.grenton.com/en/faq?hsLang=en#faq)
    - [About Grenton](https://knowledgebase.grenton.com/en/faq?hsLang=en#about-grenton)
- [Price list and documents](https://knowledgebase.grenton.com/en/price-list-and-documents?hsLang=en)

[![Grenton logo](https://knowledgebase.grenton.com/hs-fs/hubfs/Logo_Grenton_variants_BIG_2020_plus_RGB_v0.2-02.png?width=400&height=100&name=Logo_Grenton_variants_BIG_2020_plus_RGB_v0.2-02.png "Grenton logo")](http://grenton.com)

<https://www.facebook.com/grenton.smart.home> <https://www.instagram.com/grenton_smart_home/> <https://www.youtube.com/channel/UCFNNI-dgO1cm81kCrSr1bzg> <https://www.linkedin.com/company/grenton>

Copyright © 2026, Grenton Sp.z o.o.