Quote:
Originally Posted by mahesh_sonawane
Hello Tink,
Thank you very much for the reply.
1. I mean to say that "Is there any option to insert line number in syslog ?"
|
Not that I'm aware off, and it doesn't really make too
much sense, either, as far as I'm concerned. What would
the use case be?
Quote:
Originally Posted by mahesh_sonawane
2. "Can I disable the repeated logs ?" means if same log came then I dont want to put that log in log file. Is this possible or is there any option for this ?
|
Excellent question; on slackware that's something
that "just happens", I never thought about configuring
it explicitly. What distro are you using?
Quote:
Originally Posted by mahesh_sonawane
Will you please explain me what is "log rotation" ?
Sorry I am very new to syslog. I dont know the details about syslog.
Thank you.
|
Log rotation is not really a feature of syslog, but
rather of logrotate (which co-operates with syslog via cron).
What it does is to roll a log on an e.g. daily or weekly
basis for easy archival, or to prevent unlimited growth
of a file.
Cheers,
Tink