How to hide password/user in debug logs?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
wgstarks Offline
Posting Freak
Posts: 865
Joined: Jun 2013
Reputation: 5
Location: North Carolina, USA
Post: #1
I recently posted a debug log to xbmclogs.com and had several people warn me that it contained my user name and password. I have not been able to find a way to delete the log from the website, and worse, I can't figure out where that password is stored in the log so that I can edit/delete it in future logs.

[Image: all-thin-banner.jpg]
MacMini5,2 HTPC (Gotham 13.0/Aeon Nox 5.0/MacOSX 10.8.5)/Onkyo TXNR609/Panny65VT30
find quote
artrafael Offline
Team-XBMC Forum Moderator
Posts: 6,355
Joined: Jul 2010
Reputation: 112
Location: USA
Post: #2
The log is just a text file, so you can just open it with a text editor and mask (e.g., replace the characters with asterisks) your password and any other sensitive information before uploading it. The debug log file itself is located here: http://wiki.xbmc.org/index.php?title=Log...d#Location
find quote
wgstarks Offline
Posting Freak
Posts: 865
Joined: Jun 2013
Reputation: 5
Location: North Carolina, USA
Post: #3
Thanks. I understand how to mask the password, I just can't find it. I was hoping someone could give me a rough idea of what section of the log it would be in or what code to look for.

[Image: all-thin-banner.jpg]
MacMini5,2 HTPC (Gotham 13.0/Aeon Nox 5.0/MacOSX 10.8.5)/Onkyo TXNR609/Panny65VT30
find quote
artrafael Offline
Team-XBMC Forum Moderator
Posts: 6,355
Joined: Jul 2010
Reputation: 112
Location: USA
Post: #4
Use the text editor's search/find function and look for all occurrences of your username and/or password in the file? You can do a global search-and-replace.
(This post was last modified: 2013-09-11 21:41 by artrafael.)
find quote
wgstarks Offline
Posting Freak
Posts: 865
Joined: Jun 2013
Reputation: 5
Location: North Carolina, USA
Post: #5
Thanks. I really feel like a dummy. Spent nearly 2 hours going through the log for nothing when the software could have done it in a couple of seconds.Confused

What about the other question? Is there any way to delete posts to xbmclogs.com?

[Image: all-thin-banner.jpg]
MacMini5,2 HTPC (Gotham 13.0/Aeon Nox 5.0/MacOSX 10.8.5)/Onkyo TXNR609/Panny65VT30
find quote
Martijn Offline
Team-XBMC
Posts: 11,069
Joined: Jul 2011
Reputation: 158
Location: Dawn of time
Post: #6
(2013-09-12 21:01)wgstarks Wrote:  Thanks. I really feel like a dummy. Spent nearly 2 hours going through the log for nothing when the software could have done it in a couple of seconds.Confused

What about the other question? Is there any way to delete posts to xbmclogs.com?

They will be removed after a month.
Maybe contact site owner

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

For your mediacenter artwork go to
[Image: fanarttv.png]
find quote
wgstarks Offline
Posting Freak
Posts: 865
Joined: Jun 2013
Reputation: 5
Location: North Carolina, USA
Post: #7
Thanks

[Image: all-thin-banner.jpg]
MacMini5,2 HTPC (Gotham 13.0/Aeon Nox 5.0/MacOSX 10.8.5)/Onkyo TXNR609/Panny65VT30
find quote