Hello all --
Recently, I'm seeing DOS line ends, ^M, on my /var/log/boot.log file. Honestly, I don't check this very often so I can't say exactly when this occurred. Is this just MY experience or are others seeing this also.
Additionally, boot/log seems very sparse. Is an old issue still in force on this?
https://www.centos.org/forums/viewtopic.php?t=17313
Should I get the updated script from CentOS Plus?
Thanks for any help.
On 19.05.2016 18:56, Kay Schenk wrote:
Hello all --
Recently, I'm seeing DOS line ends, ^M, on my /var/log/boot.log file. Honestly, I don't check this very often so I can't say exactly when this occurred. Is this just MY experience or are others seeing this also.
this file shows ident content, as you see during boot, when you start without 'quiet' and there are green or red colors, and these are also stored - somewhat ANSI escape sequences;
when you do this:
cat /var/log/boot.log
you will see the AHA ;-)
On 05/19/2016 09:56 AM, Kay Schenk wrote:
Hello all --
Recently, I'm seeing DOS line ends, ^M, on my /var/log/boot.log file. Honestly, I don't check this very often so I can't say exactly when this occurred. Is this just MY experience or are others seeing this also.
Additionally, boot/log seems very sparse. Is an old issue still in force on this?
https://www.centos.org/forums/viewtopic.php?t=17313
Should I get the updated script from CentOS Plus?
Thanks for any help.
--
Hello again, list.
Please disregard this for the time being. I got a personal response that pointed out the doing a cat on boot.log produced a specific correct format whereis I was used to using my gui editor to display log files. Using the "log viewer" utility also shows these non-unix line ending which I found annoying.
For those who are interested in additional boot.log settings, I found this page:
https://www.centos.org/docs/5/html/5.2/Deployment_Guide/s2-sysconfig-init.ht...
from the old deployment guide but I'm sure these en variables are the same now -- well at least in the 6.x series.
Recently, I'm seeing DOS line ends, ^M, on my /var/log/boot.log file. Honestly, I don't check this very often so I can't say exactly when this occurred. Is this just MY experience or are others seeing this also.
I checked a C6 /var/log/boot.log from 5 years ago and ^M chars are there all right. You can easily spot them with less -R /var/log/boot.log. This is a surprise indeed and it's not configurable. Try to comment out echo -ne "\r" lines in /etc/rc.d/init.d/functions if you hate the output so much.