[tac_plus] Change logfile location?

heasley heas at shrubbery.net
Tue Apr 7 20:18:15 UTC 2015


Tue, Apr 07, 2015 at 10:07:53PM +0200, Alan McKinnon:
> On 07/04/2015 22:05, Matt Almgren wrote:
> > So there¹s no configurable option?   When I had this installed in a
> > CentOS6 box, it wrote the logs to /var/log/tac_plus.log without me having
> > to configure it. 

writing to syslog avoids the issues of locking and multiple daemons writing to
the same file.

> It's syslog doing that, tac_plus can't change what syslog does.
> Configure your syslogger to write the logs where you want them.
> 
> 
> 
> 
> > 
> >  ‹ Matt
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > On 4/7/15, 12:44 PM, "heasley" <heas at shrubbery.net> wrote:
> > 
> >> Tue, Apr 07, 2015 at 06:41:44PM +0000, Matt Almgren:
> >>> I have setup tac_plus F4.0.4.28 on Ubuntu 14.04.1 LTS with the
> >>> following configure command:
> >>>
> >>> ./configure --bindir=/usr/local/bin --sbindir=/usr/local/sbin
> >>> --localstatedir=/var/local/tacacs --sysconfdir=/etc
> >>> --with-logfile=/var/log/tacacs/tacacs --with-pidfile=/var/run/tacacs.pid
> >>> --with-acctfile=/var/log/tacacs/acctfile
> >>>
> >>> I noticed that the default tac_plus log file was /var/log/syslog.   I
> >>> added this to the init script command line: -l
> >>> /var/log/tacacs/tac_plus.log in hopes it would change to only logging
> >>> there.
> >>>
> >>> I see the newly created log file loggingŠ BUT, I¹m also seeing logging
> >>> in /var/log/syslog for the same output.  Is there any way to stop it
> >> >from logging to syslog?
> >>
> >> it really just uses -l for debugging output.  its wants to log to syslog
> >> for everything else.
> > 
> > _______________________________________________
> > tac_plus mailing list
> > tac_plus at shrubbery.net
> > http://www.shrubbery.net/mailman/listinfo/tac_plus
> > 
> 
> 
> -- 
> Alan McKinnon
> alan.mckinnon at gmail.com
> 
> _______________________________________________
> tac_plus mailing list
> tac_plus at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/tac_plus


More information about the tac_plus mailing list