RE2: Log-rotation FeeBSD 8.2
Matthew Newton
mcn4 at leicester.ac.uk
Mon Apr 30 17:18:38 CEST 2012
On Mon, Apr 30, 2012 at 07:07:27PM +0400, newuse at qip.ru wrote:
> > You need to HUP the server to get it to re-open the logs. This is
> > normal daemon behavior.
> >
> > Alan DeKok.
>
> Thanks, but why I can clean logs via echo command without restart?
Truncating a file and changing its name are not the same thing.
Read up on unix files and inodes.
> Could the same behavior be implemented to auto-rotation of FR2 logs?
Send a HUP. It's the Right Thing.
Matthew
--
Matthew Newton, Ph.D. <mcn4 at le.ac.uk>
Systems Architect (UNIX and Networks), Network Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom
For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>
More information about the Freeradius-Users
mailing list