source: server/etc/logrotate.tmpl @ 04d8432

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 04d8432 was 24f5516, checked in by irina <irinagomez@…>, 14 years ago

Plantilla para logrotate y script para el cron que levanta los servicios si estan caidos

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

  • Property mode set to 100644
File size: 620 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
10/opt/opengnsys/log/clients/*.log {
11     rotate 5
12     size 100k
13}
14
15/opt/opengnsys/log/mcastlog/ogAdmRepoMcast.* {
16     rotate 2
17     weekly
18}
19
20/opt/opengnsys/log/bttrack.log  /opt/opengnsys/log/ogAdmRepo.log /opt/opengnsys/log/ogAdmServer.log {
21     rotate 4
22     weekly
23}
24
Note: See TracBrowser for help on using the repository browser.