[tac_plus] Change logfile location?
Alan McKinnon
alan.mckinnon at gmail.com
Tue Apr 7 20:07:53 UTC 2015
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.
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
More information about the tac_plus
mailing list