/var/log/messages

Rick Stevens rstevens at internap.com
Wed Dec 19 23:58:57 UTC 2007


On Thu, 2007-12-20 at 09:26 +1000, david walcroft wrote:
> Mikkel L. Ellertson wrote:
> > John Cornelius wrote:
> >   
> >> I suppose that adding:
> >>
> >> bpalogin.*   /var/log/bpalogin/messages
> >>
> >> to /etc/syslog.conf would be too easy but it might do it for you. It
> >> should go before the omnibus line that sends *.info to /var/log/messages.
> >>
> >>     
> > I don't believe this will work with syslogd. It may work with some
> > of the newer replacements. You may want to read the syslog.conf man
> > page to see the formats that it accepts.
> >
> > Mikkel
> >   
> I find that I don't have a 'syslog.conf' in /etc/ and no man syslog,conf.

Ah!  F8 uses rsyslogd instead of ye ol' syslogd.  The config file
is /etc/rsyslog.conf.

Your fix is easier with rsyslogd.  Add a line like:

	:bpalogin, contains, "bpalogin"	/path/to/desired/log/file

Then "service rsyslogd restart".

----------------------------------------------------------------------
- Rick Stevens, Principal Engineer             rstevens at internap.com -
- CDN Systems, Internap, Inc.                http://www.internap.com -
-                                                                    -
-                       When in doubt, mumble.                       -
----------------------------------------------------------------------




More information about the fedora-list mailing list