forked from SimplesIP/pabx-app
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
147 lines
2.5 KiB
147 lines
2.5 KiB
# é mudado o rotate |
|
# Para não ser mudado o rotate remova |
|
# o cometário abaixo ou mude a string |
|
|
|
# auto_logrotate_licenca_PABX |
|
|
|
/var/log/asterisk/consolidaVendas.log |
|
{ |
|
daily |
|
rotate 186 |
|
create 0640 pbx pbx |
|
dateext |
|
dateformat -%d-%m-%Y |
|
notifempty |
|
delaycompress |
|
copytruncate |
|
olddir /var/log/logs_antigos/asterisk/consolida_vendas/ |
|
missingok |
|
su root root |
|
} |
|
|
|
/var/log/asterisk/corrige_abandon_transbordo.log |
|
{ |
|
daily |
|
rotate 186 |
|
create 0640 pbx pbx |
|
dateext |
|
dateformat -%d-%m-%Y |
|
notifempty |
|
delaycompress |
|
copytruncate |
|
olddir /var/log/logs_antigos/asterisk/corrige_abandon_transbordo |
|
missingok |
|
su root root |
|
} |
|
|
|
|
|
/var/log/asterisk/lista_negra_cad.log |
|
{ |
|
daily |
|
rotate 186 |
|
create 0640 pbx pbx |
|
dateext |
|
dateformat -%d-%m-%Y |
|
notifempty |
|
delaycompress |
|
copytruncate |
|
olddir /var/log/logs_antigos/asterisk/corrige_abandon_transbordo |
|
missingok |
|
su root root |
|
} |
|
|
|
/var/log/asterisk/log_erro_pabx.log |
|
{ |
|
daily |
|
rotate 186 |
|
create 0640 pbx pbx |
|
dateext |
|
dateformat -%d-%m-%Y |
|
notifempty |
|
delaycompress |
|
copytruncate |
|
olddir /var/log/logs_antigos/asterisk/log_erro_pabx |
|
missingok |
|
su root root |
|
} |
|
|
|
/var/log/asterisk/portabilidade.log |
|
{ |
|
daily |
|
rotate 186 |
|
create 0640 pbx pbx |
|
dateext |
|
dateformat -%d-%m-%Y |
|
notifempty |
|
delaycompress |
|
copytruncate |
|
olddir /var/log/logs_antigos/asterisk/portabilidade |
|
missingok |
|
su root root |
|
} |
|
|
|
|
|
/var/log/asterisk/resumo-cdr.log |
|
{ |
|
daily |
|
rotate 186 |
|
create 0640 pbx pbx |
|
dateext |
|
dateformat -%d-%m-%Y |
|
notifempty |
|
delaycompress |
|
copytruncate |
|
olddir /var/log/logs_antigos/asterisk/resumo-cdr |
|
missingok |
|
su root root |
|
} |
|
|
|
|
|
|
|
/var/log/asterisk/televendas_bloqueio.log |
|
{ |
|
daily |
|
rotate 186 |
|
create 0640 pbx pbx |
|
dateext |
|
dateformat -%d-%m-%Y |
|
notifempty |
|
delaycompress |
|
copytruncate |
|
olddir /var/log/logs_antigos/asterisk/televendas_bloqueio |
|
missingok |
|
su root root |
|
} |
|
|
|
|
|
/var/log/asterisk/webhook_whatsapp.log |
|
/var/log/asterisk/whatsapp_request.log |
|
{ |
|
daily |
|
rotate 186 |
|
create 0640 pbx pbx |
|
dateext |
|
dateformat -%d-%m-%Y |
|
notifempty |
|
delaycompress |
|
copytruncate |
|
olddir /var/log/logs_antigos/asterisk/whatsapp |
|
missingok |
|
su root root |
|
} |
|
|
|
|
|
/var/log/asterisk/workflow.log |
|
{ |
|
daily |
|
rotate 186 |
|
create 0640 pbx pbx |
|
dateext |
|
dateformat -%d-%m-%Y |
|
notifempty |
|
delaycompress |
|
copytruncate |
|
olddir /var/log/logs_antigos/asterisk/workflow |
|
missingok |
|
su root root |
|
} |