Skip to main content
Participant
Feb 20, 2025 7:01 PM UTC
Answered

LrLogger log file is corrupted

I've been working on a Lightroom plugin and I'm using LrLogger to output messages to the logfile.  This has been working great, but today suddenly everything written to the logfile is jibberish.  Looks like this: 

 

㈰㈯⼰〲㔲ㄠ㨳ㄵ㐺‶剔䍁ॅ敂潦敲琠潬摡灇䙸汩⁥佄䕎渺汩ഀ《⼲〲㈯㈰‵

 

I've tried deleting the logfile, and rebooted my PC but nothing has worked.  Does anyone know how this has happened and how I can fix it?

 

Thanks,

Greg

johnrellis
johnrellisCorrect answer
Legend
Feb 20, 2025 11:34 PM UTC

Which program are you using to examine the file? It looks like an encoding confusion (e.g. file written in UTF-8 but opened as UTF-16, etc.).

2 replies

johnrellis
johnrellisCorrect answer
Legend
Feb 20, 2025 11:34 PM UTC

Which program are you using to examine the file? It looks like an encoding confusion (e.g. file written in UTF-8 but opened as UTF-16, etc.).

Translate
wazkarenAuthor
Participant
Feb 21, 2025 12:33 AM UTC

I using notepad in Windows 11.  I just tried deleting the log file again, and now I'm seeing normal log messages again.  I'm guessing that I didn't really delete the log file before (but thought I did).  So I'm working again.  Thanks for your response.

 

Greg

Translate