# Public IP contained in plex logs

**URL:** <https://forums.plex.tv/t/public-ip-contained-in-plex-logs/733854>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [August 4, 2021, 11:53am UTC](https://forums.plex.tv/t/public-ip-contained-in-plex-logs/733854 "2021-08-04T11:53:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon5074910](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@anon5074910](https://forums.plex.tv/u/anon5074910)\
**Post date:** [August 4, 2021, 11:53am UTC](https://forums.plex.tv/t/public-ip-contained-in-plex-logs/733854/1 "2021-08-04T11:53:15Z")

</div>

Server Version#: Version 1.24.0.4897  
Player Version#: Version 4.62.1

Not sure if its always been like this but when I upgraded to 1.24 today I was reviewing the logs and I can see my public IP all over the place. I have not noticed this before so said I would mention it in case its a recent regression. Needless to say I won’t be uploading any logs anymore until this is resolved.

Doing a quick grep on the logs using the following will return many results (replace xx.xx.xx.xx with your public IP)…

`grep -a "xx.xx.xx.xx" /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Logs/Plex\ Media\ Server*.log`

---

<div class="post-metadata">

**Author:** ![drzoidberg33](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/drzoidberg33/32/4184_2.png) [@drzoidberg33](https://forums.plex.tv/u/drzoidberg33)\
**Post date:** [August 4, 2021, 11:58am UTC](https://forums.plex.tv/t/public-ip-contained-in-plex-logs/733854/2 "2021-08-04T11:58:02Z")

</div>

It would always be likely that the public IP would be in the logs somewhere before today’s update.

Looking at my logs I don’t notice any new log entries with the IP (just the existing ones) - could you paste an example of which lines you’re seeing?

---

<div class="post-metadata">

**Author:** ![anon5074910](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@anon5074910](https://forums.plex.tv/u/anon5074910)\
**Post date:** [August 4, 2021, 12:22pm UTC](https://forums.plex.tv/t/public-ip-contained-in-plex-logs/733854/3 "2021-08-04T12:22:36Z")

</div>

Sure, maybe its always been like that but have not noticed it before and I do review the plex logs a good bit.

Below is the results of `grep -a "xx.xx.xx.xx" /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Logs/*.log` from my server after upgrade this morning. I have scrub’ed the public ip…

EDIT: Let me DM that instead – I can see tokens and the port forwarding information in what I pasted.

---

<div class="post-metadata">

**Author:** ![Pow4Life181](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pow4life181/32/110911_2.png) [@Pow4Life181](https://forums.plex.tv/u/Pow4Life181)\
**Post date:** [August 4, 2021, 12:35pm UTC](https://forums.plex.tv/t/public-ip-contained-in-plex-logs/733854/4 "2021-08-04T12:35:46Z")

</div>

It has always been like this to my knowledge… I have DEBUG logs from 1.23.0 with my public IP present in them.

---

<div class="post-metadata">

**Author:** ![anon5074910](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@anon5074910](https://forums.plex.tv/u/anon5074910)\
**Post date:** [August 4, 2021, 12:41pm UTC](https://forums.plex.tv/t/public-ip-contained-in-plex-logs/733854/5 "2021-08-04T12:41:43Z")

</div>

Fair enough - never noticed it before - anyhow, won’t be uploading logs publicly ever again 😅

---

<div class="post-metadata">

**Author:** ![Pow4Life181](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pow4life181/32/110911_2.png) [@Pow4Life181](https://forums.plex.tv/u/Pow4Life181)\
**Post date:** [August 4, 2021, 12:46pm UTC](https://forums.plex.tv/t/public-ip-contained-in-plex-logs/733854/6 "2021-08-04T12:46:13Z")

</div>

Would definitely be nice if the IP was scrubbed, especially when exporting Logs via the WebGUI or something.  
Could also be achieved with a quick one-line sed command I would think.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [November 2, 2021, 12:46pm UTC](https://forums.plex.tv/t/public-ip-contained-in-plex-logs/733854/7 "2021-11-02T12:46:53Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
