[Sunhelp] /etc/syslog.conf doesn't; Sol8

Bill Bradford mrbill at mrbill.net
Mon May 15 18:22:02 CDT 2000


On Mon, May 15, 2000 at 05:51:00PM -0500, Doug McLaren wrote:
> On Mon, May 15, 2000 at 03:27:58PM -0700, Kevin Stevens wrote:
> | I'm trying to change some of the logging via syslog.conf, but the default 
> | entries still seem to be the only ones working.  I edit /etc/syslog.conf, 
> | for example adding the following:
> | news.info;news.notice;news.warning;news.err     /var/log/news
> | news.crit;news.alert;news.emerg                 /var/log/news
> Make sure that those spaces between the syslog type and the file to
> log to include at least one tab (instead of just spaces.)
> Why it requires tabs is a really good question, and so far I've never
> heard any good answer, but it does, and it seems to do so on all *nix
> variants.

Also make sure there's a blank line at the end of the file.  I found
that without this, Solaris 7 wouldnt pay attention to the file either.

Bill

-- 
+--------------------+-------------------+
|   Bill Bradford    |   Austin, Texas   |
+--------------------+-------------------+
| mrbill at sunhelp.org | mrbill at mrbill.net |
+--------------------+-------------------+





More information about the SunHELP mailing list