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

📄 readme

📁 早期freebsd实现
💻
字号:
$Revision: 1.3 $InterNetNews uses the "three-arg" version of syslog.  That version isstandard with many systems (4.3BSD, SunOS4.x, etc).  Some vendors havenot yet upgraded, however.  The principal difference between the twoversions is that the current syslog divides reports up into "facilities."For example, news reports can be filed separately from mail or loginreport.If your system is running the older version of syslog, you should complainto your vendor.  I also encourage you to bring up the syslog that is includedin this directory and replace what is running on your system.  The sourcesare from the freely-redistributable BSD sources, and the syslog.conf filematches the old actions pretty closely.If you can't replace the syslog on your machine, you can run two syslogdaemons for awhile.  Edit syslog.c and syslogd.c so that    #define _PATH_LOGNAME "/dev/log"points to something like "/dev/newsyslog".  In syslogd.c you should alsodo the following	#define NO_INET_SOCKETthis will prevent the new syslog daemon from listening on the Internetport (the old syslog daemon is presumably doing that).  You should also do	#undef _PATH_KLOGwhich will tell the daemon to not try to read Unix kernel log messages.Change    #define _PATH_LOGCONF "/etc/syslog.conf"    #define _PATH_LOGPID "/etc/syslog.pid"to something like "/etc/newsyslog.conf" and "/etc/newsyslog.pid"Finally, install the new syslogd and make sure that it is started atsystem boot time.Good luck.  I haven't tried this -- I replaced the daemon on my machines --but it should work without too many problems.On machines without Unix-domain sockets you can just add this line tothe top of syslog.c:	#define INET_SYSLOGand add syslog to the INN library as exlained in the installation manual.	/rich $alz

⌨️ 快捷键说明

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