|
From: Katharina W. <wol...@fh...> - 2014-10-13 11:10:09
|
Hello everybody!
After setting up solr to write it's logfiles to /var/log/solr/solr.log I then
set up logrotate in order to minimize the needed server space.
Now I've encountered problems when I wanted to analyze the older logfiles and
found that all the files seemed to end when the logrotate-process starts and a
new file only begins when the server or vufind is next rebootet. :-(
Here is the /etc/logrotate.d/solr-file:
/var/log/solr/solr.log {
compress
dateext
maxage 365
rotate 99
size=+4096k
daily
notifempty
missingok
create 644 svnuser svn
}
I guess the problem is that solr needs to be told explicitly to start a new
logfile, but how do I do that? I googled but didn't really find a satisfying
answer to that problem...
Any tipps appreciated.
Kate
|