⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.1st

📁 linux下记录系统日志代码以及记录内核日志代码
💻 1ST
字号:
Very important information before using version 1.3---------------------------------------------------The included version of syslogd behaves in a slightly different mannerto the one in former releases.  Please review the following importantdifferences:* By default the syslog daemon doesn't accept any message from the  syslog/udp port. To enable this add "-r" to the command-line  arguments. You _have to_ add this on every host that should run as a  centralized network log server.  You also should take a look at other new command-line arguments:  "-l" and "-s".  The syslog daemon by default does not forward to a remote host any  log messages which it received from a remote host.  This is an  attempt to prevent syslog loops.  If you desire this behavior the  -h command-line switch can be used to enable this behavior.* Syslogd was designed to strip off the local domain from every  message that comes from any host in the same domain. Unfortunately  this feature didn't work in every cases. This is now corrected. So  you might not get the fqdn anymore.  If you use any scripts that analyze logfiles, please bare this in  mind.* Syslogd doesn't touch the filemode of any logfile. If it has to  create one, it will be world-readable. If you do not want this  (i.e. if auth.* is logged) you have to create the file by hand and  change permissions.* If you notice that some of your programs make heavy use of the  syslog facility and your disks get loud you might want to turn  fsync()ing after each line off. But note that in doing so you  increase the likelihood of lost information in the event of a  system crash.* If you're going to start klogd or syslogd by init(8), you don't have  to hack the code anymore. Instead add "-n" to the command-line  arguments.* Klogd can now be used to decode EIP addresses if it can determine a  System.map file (command-line argument "-k"). This is a very useful  feature if your system crashes, but its usability depends on an  actual and correct System.map file.* Both system utilities now check for and respect the existence of .pid  files.  If the utilities are started by configuration scripts on  stable systems there is the potential that the process ID numbers of  the utilities will be identical from one system boot to another.  This will cause both klogd and syslogd to terminate.  Both klogd and syslogd will attempt to remove their .pid files when  they receive termination signals.  The difficulty noted above  typically occurs when a system crash occurs or an uncatchable signal  (kill -9) is used to stop the daemons.  The cleanest solution to this problem is to insure that the system  configuration scripts (rc.*) provide a clean working environment for  a freshly booted system.  As part of the initialization process  these scripts should remove all old .pid files found in /var/run.  This will insure that klogd and syslogd start properly even if prior  executions have been terminated harshly.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -