[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]

CRLF logging

Michael Redinger Michael.Redinger@uibk.ac.at
Fri, 26 Mar 2004 05:49:43 -0800 (PST)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hello,

when testing conserver I found that the logfiles contain CRLF, LF and CR
line terminators.
Most lines are ended with CRLF (but I also saw lines with only LF).
Also, there is often a CR right after the timestamp.
See the example below (note the "^M"s).

My configuration is rather simple, it is very similar to average.cf
(except for setting timestamp to "1lab").

Both the conserver and the host of the serial console are running
Red Hat Enterprise Linux 3.0.

Who is to blame, conserver or the Linux server system?
I remember seeing something like this in Cyclades TS logs, so I suppose
it is not very unusual.
Is there any way to prevent this?

Thanks,
Michael


[Fri Mar 26 11:56:19 2004]^M        aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
[Fri Mar 26 11:56:19 2004]^M
[Fri Mar 26 11:56:19 2004]^Mscsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
[Fri Mar 26 11:56:19 2004]^M        <Adaptec aic7880 Ultra SCSI adapter>


[Fri Mar 26 11:57:10 2004]Starting Red Hat Network Daemon: [  OK  ]^M^M
[Fri Mar 26 11:57:11 2004]Starting mdmpd: [  OK  ]^M^M
[Fri Mar 26 11:57:12 2004]^M
[Fri Mar 26 11:57:12 2004]Red Hat Enterprise Linux AS release 3 (Taroon Update 1)^M
[Fri Mar 26 11:57:12 2004]Kernel 2.4.21-9.0.1.ELsmp on an i686^M
[Fri Mar 26 11:57:12 2004]^M
[Fri Mar 26 11:57:12 2004]XXX.uibk.ac.at login: ^M
[Fri Mar 26 12:00:05 2004]Red Hat Enterprise Linux AS release 3 (Taroon Update 1)^M
[Fri Mar 26 12:00:05 2004]Kernel 2.4.21-9.0.1.ELsmp on an i686^M
[Fri Mar 26 12:00:05 2004]^M
[Fri Mar 26 12:00:05 2004]XXX.uibk.ac.at login: ^M


- -- 
Michael Redinger
Zentraler Informatikdienst (Computer Centre)
Universitaet Innsbruck                  
Technikerstrasse 13                     Tel.: ++43 512 507 2335
6020 Innsbruck                          Fax.: ++43 512 507 2944
Austria					Mail: Michael.Redinger@uibk.ac.at
BB98 D2FE 0F2C 2658 3780  3CB1 0FD7 A9D9 65C2 C11D
http://www.uibk.ac.at/~c102mr/mred-pubkey.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAZDTzD9ep2WXCwR0RAumcAJ9T9a0lg6QwS5rZpAVPXozWWZfVsACdEEmW
E6kVlFkDbL8kYzuTSTSSPo4=
=3PQS
-----END PGP SIGNATURE-----