Hi,

I used to have system.log writing directly to syslog and configure a
rsyslog server to get all logs from my cassandra boxes. However, the java
stack traces are a headache on my server and I read on rsyslog forums to
change application to write to a file and let rsyslog to read from that
file (using imfile module).

This is what I have done. However, the /var/log/cassandra/system.log is
created as cassandra:cassandra 600. I would like to change the groupship to
syslog and have permissions like 640. I can do it but whenever the file is
rotated it starts again as cassandra:cassandra 600.

I can't find much information on that file but changing the rotation and
the size. E.g.:

log4j.appender.R.maxFileSize=50MB
log4j.appender.R.maxBackupIndex=50

Is there a way to control this?

Thanks,
Xavi

Reply via email to