[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    Re: logrotaion for detail module (auth-detail.log)
From:       Alan DeKok <aland () deployingradius ! com>
Date:       2020-10-27 12:28:24
Message-ID: 2140F58D-6383-40D2-9002-FB3B8678B054 () deployingradius ! com
[Download RAW message or body]

On Oct 25, 2020, at 11:41 AM, work vlpl <thework.vlpl@gmail.com> wrote:
> I have a question about logrotation and how FreeRADIUS handle the
> situation when the log file renamed or removed.
> 
> I need to rotate a log file from `detail` module. I did the couple
> tests - just tried to remove or rename `auth-detail.log` file and it
> seems that FreeRADIUS just create a log file if there is no file.
> However, there are old replies in mail list that saying I should use
> `radmin -e "hup detail"` to recreate `auth-detail.log` file after
> rotation.  http://lists.freeradius.org/pipermail/freeradius-users/2017-July/088293.html
> http://lists.freeradius.org/pipermail/freeradius-users/2016-June/083943.html
> 
> So my question is do I still need to send HUP signal to detail module
> or the changes in FreeRADIUS code were made so it not necessary
> anymore?

  If you have "locking=no", you don't need to HUP the module.

  Alan DeKok.


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic