Hi,
We are running DSpace v1.8.1 and are having a problem whereby a large
amount of output (approximately 400MB per day) is being written to
catalina.out. A sample line is as follows:
INFO: [search] webapp=/solr path=/select
params={sort=score+desc&wt=javabin&rows=10&version=2&start=0&q=*:*&fq=subject_filter:adélie/+penguin/+genetics/%257C/%257C/%257CAdélie/+penguin/+genetics&fq=subject_filter:organisational/+discourse/+analysis/%257C/%257C/%257COrganisational/+discourse/+analysis&fq=dateIssued.year:[2010+TO+2011]&fq=subject_filter:apteryx/+owenii/%257C/%257C/%257CApteryx/+owenii&fq=dateIssued.year:2010&fq=subject_filter:limb/+development/%257C/%257C/%257CLimb/+development}
hits=2 status=0 QTime=1
Here's the output of ~10sec capture: http://pastebin.com/UKwdLGYx
Our immediate question (given that our /var/log partition is filling
up), is:
How can we suppress the above lines ? We don't really want to turn off
all DSpace INFO messages, so is there any way to target just the above
INFO messages ?
If there isn't, what's the correct way to disable INFO logging. In
"log4j.properties", I tried changing:
log4j.rootCategory=INFO, A1
log4j.logger.org.dspace=INFO, A1
to
log4j.rootCategory=OFF, A1
log4j.logger.org.dspace=OFF, A1
But this results in the following error messages upon restart:
log4j:WARN No appenders could be found for logger
(org.dspace.servicemanager.DSpaceKernelInit).
log4j:WARN Please initialize the log4j system properly.
and it doesn't suppress the problematic output in any case.
Also, why are there so many searches going on ? Is our site being
crawled ? If so, how can we establish (and restrict) this ? We first
become aware of the problem when /var/log filled up - but don't think
this used to happen.
Many Thanks,
Patrick
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech