Elastix 1.6 "full" log rotation

arrow1

Joined
Nov 21, 2010
Messages
89
Likes
0
Points
0
#1
Elastix experts,

I see that "full" log located in /var/log/asterisk is rotated and kept for last 5 days. Is there any way to extend that time lets say to keep rotated log for last 15 days ?

Thank You
 

arrow1

Joined
Nov 21, 2010
Messages
89
Likes
0
Points
0
#2
looks like

/etc/logrotate.d :

/var/log/asterisk/full {
missingok
rotate 15
daily
create 0640 asterisk asterisk
postrotate
/usr/sbin/asterisk -rx 'logger reload' > /dev/null 2> /dev/null
endscript

rotate "5" to "15" should do the job if want to keep files from last 15 days ....

Am I doing that right?

Thank You
 

fmvillares

Joined
Sep 8, 2007
Messages
1,785
Likes
0
Points
0
#3
Re: Re:Elastix 1.6 "full" log rotation

perfect +1
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,901
Messages
130,885
Members
17,561
Latest member
marouen
Top