/var/log/messages
Rick Stevens
rstevens at internap.com
Thu Dec 20 00:03:47 UTC 2007
On Wed, 2007-12-19 at 15:58 -0800, Rick Stevens wrote:
> 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
Whoops! Make that:
:programname, contains, "bpalogin" /path/to/log/file
(gotta proofread better!)
----------------------------------------------------------------------
- Rick Stevens, Principal Engineer rstevens at internap.com -
- CDN Systems, Internap, Inc. http://www.internap.com -
- -
- Perseverance: When you're too damned stubborn to say "I quit!" -
----------------------------------------------------------------------
More information about the fedora-list
mailing list