# Logging ip addres of client that enters to manager

**URL:** <https://community.wowza.com/t/logging-ip-addres-of-client-that-enters-to-manager/94484>\
**Category:** Wowza Streaming Engine\
**Created:** [January 23, 2022, 3:27pm UTC](https://community.wowza.com/t/logging-ip-addres-of-client-that-enters-to-manager/94484 "2022-01-23T15:27:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Piotr\_Wowzix](https://avatars.discourse-cdn.com/v4/letter/p/c68b51/32.png) [@Piotr\_Wowzix](https://community.wowza.com/u/Piotr_Wowzix)\
**Post date:** [January 23, 2022, 3:27pm UTC](https://community.wowza.com/t/logging-ip-addres-of-client-that-enters-to-manager/94484/1 "2022-01-23T15:27:02Z")

</div>

My issue is about adding logging ip addres of client that enters to manager.  
I have added proprer formating for log4j configurations but it shows me only dash.  
/usr/local/WowzaStreamingEngine/manager/conf/log4j2-config.xm  
…\tc-ip…  
…\t%replace{%X{c-ip}}{^$}{-}…

/usr/local/WowzaStreamingEngine/manager/conf/log4j.properties  
log4j.appender.serverAccess.layout.Fields=date,time,tz,x-server,x-user,x-severity,x-category,c-ip,x-comment

---

<div class="post-metadata">

**Author:** ![Connessione](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@Connessione](https://community.wowza.com/u/Connessione)\
**Post date:** [January 24, 2022, 7:52am UTC](https://community.wowza.com/t/logging-ip-addres-of-client-that-enters-to-manager/94484/2 "2022-01-24T07:52:54Z")

</div>

> [@Piotr\_Wowzix](#):
>
> c-ip

I could be wrong but possibly c-ip is fir wowza engine and not wowza manager. If you see the manager log configuration you will see other placeholders such as user etc that are not in the logging documentation. Which is why I believe it might be a different token altogether.

---

<div class="post-metadata">

**Author:** ![Piotr\_Wowzix](https://avatars.discourse-cdn.com/v4/letter/p/c68b51/32.png) [@Piotr\_Wowzix](https://community.wowza.com/u/Piotr_Wowzix)\
**Post date:** [January 24, 2022, 9:32am UTC](https://community.wowza.com/t/logging-ip-addres-of-client-that-enters-to-manager/94484/3 "2022-01-24T09:32:01Z")

</div>

My manager is exposed to network, then I would to see visitor IP to include fail2ban rules for example.

---

<div class="post-metadata">

**Author:** ![Connessione](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@Connessione](https://community.wowza.com/u/Connessione)\
**Post date:** [January 29, 2022, 7:06am UTC](https://community.wowza.com/t/logging-ip-addres-of-client-that-enters-to-manager/94484/4 "2022-01-29T07:06:51Z")

</div>

Perhaps if wowza manager logging does not have this feature you can use Linux administration tricks to log the ip addresses attempting to connect to manager port.
