Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Feb 2005 14:31:03 -0500
From:      David Banning <david+dated+1109532666.8c4c1b@skytracker.ca>
To:        James Alexander Cook <james.cook@utoronto.ca>
Cc:        questions@freebsd.org
Subject:   Re: logging proftpd question
Message-ID:  <20050222193103.GA79390@skytracker.ca>
In-Reply-To: <20050222175827.GA36707@angel.falsifian.afraid.org>
References:  <20050222063525.GA4636@skytracker.ca> <20050222175827.GA36707@angel.falsifian.afraid.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> I believe the syntax you want is
> 
> ftp.*			/var/log/proftpd.log
> 
> Make sure the logfile exists (and is writable),
> otherwise I think syslog will complain.

Thanks, fellow Torontonian, for your reply. 

I tried your suggestion previous to my posting, with no result.

Now, could something in the;


I tried your suggestion previous to my posting, with no result.  I
also did a "touch /var/log/proftpd.log" and "chmod 600
/var/log/proftpd.log"

The line;

*.notice;kern.debug;lpr.info;mail.crit;news.err /var/log/messages

is what is grabbing the messages I want to redirect. (I beleive *.notice)

I just wonder if the line I just mention takes the log entry, if another
can still take it. Can a log entry only be logged once? Or can you have
it go to multiply files? (via multiple syslog.conf entries)

It sure would be easier if in the log entry it said "ftp.notice" or
some such thing so you -know- how it is being directed.

I have tried running syslog with -d and -vv and there seems to be no
indication what the facility name that is used.


-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050222193103.GA79390>