Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
New syslog output could be improved
Hi Martin,
I have a syslog.conf rule to output some lines to a root window:
*.notice;auth.debug root
and to a log file:
auth,authpriv.info /var/log/authlog
Now the new syslogd produce this output in the root window:
--- cut ---
root@host1#
Message from syslogd%host1.domain1.de@localhost at Nov 2 09:36:28 ...
95 <38>Nov 2 09:36:28 host1 inetd[1330]: connection from host2.domain2.de,
service logi
Message from syslogd%host1.domain1.de@localhost at Nov 2 09:36:29 ...
95 <38>Nov 2 09:36:29 host1 rlogind[1330]: user2%host2.domain2.de@localhost as
user1: iruserok su
--- cut ---
While the logfile looks ok:
Nov 2 09:36:28 host1 inetd[1330]: connection from host2.domain2.de, service
login (tcp)
Nov 2 09:36:29 host1 rlogind[1330]: user2%host2.domain2.de@localhost as
user1: iruserok succeeded
So, the user output now adds a newline at the begining of the output,
the sequence number and cuts off the output at the end of the line.
Bernd
Home |
Main Index |
Thread Index |
Old Index