lightblue-platform / lightblue-puppet

Puppet module for lightblue!
GNU General Public License v3.0
2 stars 11 forks source link

Setup rolling access logs #183

Closed jewzaam closed 8 years ago

jewzaam commented 8 years ago

Ours are taking 12gb in prod right now.. bit excessive.

paterczm commented 8 years ago

https://access.redhat.com/solutions/185383 http://docs.jboss.org/jbossweb/7.0.x/config/host.html

JBoss can rotate access logs, but does not have an option of deleting the old ones (like it does for server logs).

This is how servicejava solved it:

0 4 * * * /usr/sbin/tmpwatch -m 1424 /var/log/jbossas/standalone/default-host
jewzaam commented 8 years ago

We have this installed already. Looking into why it's not clearing logs.