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.