source: server/etc/logrotate.tmpl @ 01aef8db

918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Last change on this file since 01aef8db was 456ad7a, checked in by ramon <ramongomez@…>, 13 years ago

Corregir errata en fichero plantilla para Logrotate que evita generar bucles indefinidos de ficheros.

git-svn-id: https://opengnsys.es/svn/branches/version1.0@2386 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100644
File size: 617 bytes
Line 
1# Los archivos se copian y luego se corta el original, para que los equipos puedan seguir escribiendo sobre ellos
2# Las copias se comprimen
3# Clientes: se guardan 500K de cada cliente: se rotan cuando llegan a 100K y se guardan 5
4# Mcastlog: se guardan dos semanas.
5# servicios opengnsys y tracker: se guardan 4 semanas
6
7
8copytruncate
9compress
10OPENGNSYSDIR/log/clients/*.log {
11     rotate 5
12     size 100k
13}
14
15OPENGNSYSDIR/log/mcastlog/ogAdmRepoMcast.*([-0-9]) {
16     rotate 2
17     weekly
18}
19
20OPENGNSYSDIR/log/bttrack.log OPENGNSYSDIR/log/ogAdmRepo.log OPENGNSYSDIR/log/ogAdmServer.log {
21     rotate 4
22     weekly
23}
24
Note: See TracBrowser for help on using the repository browser.