On 23-6-2016 16:14, Derek Wuelfrath wrote:
> Bebbet,
> 
> Jumping in related to the logrotate issues.
> 
> Can you tell me which version of PacketFence you are actually running ?
> Also, can you provide me the /etc/logrotate.d/packetfence file.
> 
> Thanks
> 
> Cheers!
> -dw.

Here is the information you requested. I'm running 6.1.0.


[root@nac ~]# cat /etc/logrotate.d/packetfence
# logrotate file for PacketFence

/usr/local/pf/logs/*log {
    daily
    rotate 90
    missingok
    compress
    create 640 pf pf
    copytruncate

    # This following line is required for RHEL / CentOS 7 but will be
ignored on RHEL / CentOS 6
    su pf pf
}

/usr/local/pf/logs/httpd.*.access /usr/local/pf/logs/httpd.*.error
/usr/local/pf/logs/httpd.*.catalyst {
    daily
    rotate 90
    missingok
    compress
    create 640 pf pf
    copytruncate

    # This following line is required for RHEL / CentOS 7 but will be
ignored on RHEL / CentOS 6
    su pf pf
}

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to