# Preventing logging of password

**URL:** <https://community.wowza.com/t/preventing-logging-of-password/93709>\
**Category:** Wowza Streaming Engine\
**Tags:** server-administration\
**Created:** [August 17, 2021, 8:51pm UTC](https://community.wowza.com/t/preventing-logging-of-password/93709 "2021-08-17T20:51:45Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harshvir\_Sidhu](https://avatars.discourse-cdn.com/v4/letter/h/9dc877/32.png) [@Harshvir\_Sidhu](https://community.wowza.com/u/Harshvir_Sidhu)\
**Post date:** [August 17, 2021, 8:51pm UTC](https://community.wowza.com/t/preventing-logging-of-password/93709/1 "2021-08-17T20:51:45Z")

</div>

Hi,  
When wowza is not able to connect with camera device using RTSP, then it logs username and password information in access and error logs as follows.

**Access Log**  
2021-08-17 17:57:55 UTC comment server WARN 200 - RTPSessionDescriptionDataProviderBasic.getStreamInfo: RTSP/RTP re-streaming. Cannot connect to server: rtsp:// **Username** : **Password** @ **IPAddress** /axis-media/media.amp - - - 362.974 - - - - - - - - - - - - - - - - - - - - - - - - -

**Error Log**  
WARN server comment 2021-08-17 17:57:55 - - - - - 362.974 - - - - - - - - RTPSessionDescriptionDataProviderBasic.getStreamInfo: RTSP/RTP re-streaming. Cannot connect to server: rtsp:// **Username** : **Password** @ **IPAddress** /axis-media/media.amp

I have tried using streamFile to rtspRemoveUserInfo, but I think that is not applicable to the logs.

**stream file**  
{  
uri: “rtsp:// **Username** : **Password** @ **IPAddress** /axis-media/media.amp”,  
rtspRemoveUserInfo: true  
}

My requirement that is to prevent Wowza from logging Username and Password in the logs.

Thanks.

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [August 18, 2021, 8:17pm UTC](https://community.wowza.com/t/preventing-logging-of-password/93709/2 "2021-08-18T20:17:55Z")

</div>

Are you able to disable authentication? Or you need it to authenticate, but you just don’t want it to show?

 ![Screen Shot 2021-08-18 at 2.17.01 PM](https://us1.discourse-cdn.com/flex002/uploads/wowza1/original/1X/afcc256ad2dd07d6d6887bc942c2943f7e3efb80.jpeg)

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [August 18, 2021, 8:19pm UTC](https://community.wowza.com/t/preventing-logging-of-password/93709/3 "2021-08-18T20:19:15Z")

</div>

You could try this as well:

[https://www.wowza.com/docs/how-to-troubleshoot-problematic-or-failed-rtsp-streams-between-ip-cameras-and-wowza-streaming-cloud#turn-off-validation-to-prevent-the-camera-from-disconnecting2](https://www.wowza.com/docs/how-to-troubleshoot-problematic-or-failed-rtsp-streams-between-ip-cameras-and-wowza-streaming-cloud#turn-off-validation-to-prevent-the-camera-from-disconnecting2)

---

<div class="post-metadata">

**Author:** ![Harshvir\_Sidhu](https://avatars.discourse-cdn.com/v4/letter/h/9dc877/32.png) [@Harshvir\_Sidhu](https://community.wowza.com/u/Harshvir_Sidhu)\
**Post date:** [August 18, 2021, 8:31pm UTC](https://community.wowza.com/t/preventing-logging-of-password/93709/4 "2021-08-18T20:31:48Z")

</div>

Sure I can give it a try.  
Want to confirm, it wont effect with the reliability of streams?  
We do notify user when there is some issue with the stream.

---

<div class="post-metadata">

**Author:** ![Harshvir\_Sidhu](https://avatars.discourse-cdn.com/v4/letter/h/9dc877/32.png) [@Harshvir\_Sidhu](https://community.wowza.com/u/Harshvir_Sidhu)\
**Post date:** [August 18, 2021, 8:32pm UTC](https://community.wowza.com/t/preventing-logging-of-password/93709/5 "2021-08-18T20:32:20Z")

</div>

We cannot disable authentication, we need to authenticate, but do not show in logs.

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [August 18, 2021, 8:34pm UTC](https://community.wowza.com/t/preventing-logging-of-password/93709/6 "2021-08-18T20:34:35Z")

</div>

Ok let me ask for you then…

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [August 19, 2021, 2:35am UTC](https://community.wowza.com/t/preventing-logging-of-password/93709/7 "2021-08-19T02:35:45Z")

</div>

Ok this is something that would require custom logging work done for axis and we have no way of disabling that right now with standard Streaming Engine.

You could contact Wowza Pro Services or reach out in our Hire a Consultant page to seek some paid assistance. But it will indeed requir some custom work to hide that.

Hope you can get it worked out @Harshvir_Sidhu! Sorry I couldn’t be of more help to you right away.

---

<div class="post-metadata">

**Author:** ![Harshvir\_Sidhu](https://avatars.discourse-cdn.com/v4/letter/h/9dc877/32.png) [@Harshvir\_Sidhu](https://community.wowza.com/u/Harshvir_Sidhu)\
**Post date:** [August 19, 2021, 3:05pm UTC](https://community.wowza.com/t/preventing-logging-of-password/93709/8 "2021-08-19T15:05:07Z")

</div>

Thanks for your help in trying to get this confirmed.
