How can I view putty log files with color in Notepad++ or other text editors?
I have a putty log file that contains color markup, e.g.:
[0m[33mSome colored error text
[35mSome more colored error text
[0mSome stuff
Is there a way to easily view these log files in color? Bonus points for solutions that:
- Use notepad++
- Don't display the color sequence (e.g. [35m) , and instead just colors the text
You can install MINGW64 (Cygwin should also works) and run:
less -R your_putty_logfile.log
Notice -R
option. For me it works pretty fine.
You can replay the log file in TeraTerm. File -> New Connection -> TCPI/IP: /R="C:\somelofile.log"
B.T.W In TeraTerm you can log escape commands when log to binary file format.