Page 1 of 1

OMERO Log files

PostPosted: Wed Oct 07, 2009 4:03 pm
by belanna11
I have a question about the OMERO log files located in /var/log under the omero installation. It appears that the log files, after reaching about 500M, will start a new log file. But none of the log files are compressed at all, so I'm concerned about space planning. Is there any documentation on managing these log files? Is it ok to move or compress the old log files that are no longer in use?

Re: OMERO Log files

PostPosted: Wed Oct 07, 2009 6:00 pm
by jmoore
For the Java servers (Blitz-0.log.* and Indexer-0.log.*) the file sizes are defined in log4j.xml.

For the Python servers, the files sizes are defined in source (I've just added ticket:1519 to make it configurable.)

For both, the default is to allow up to 9 backup files of up to 500MB for a total of 4 GB of log data. Once the log files have rolled over, however, it is completely safe to delete or compress them. We'll add documentation on this point with the 4.1 release (ticket:1520)

Thanks for pointing it out!
~Josh.