Stuart:
Thanks! I was confused to see the files deleted. I will check log4j.
Stuart Lewis wrote:
Hi George,
A few weeks ago we switched from running DSpace 1.4.2 to DSpace 1.5.2
On September 30th, I ran my regular stats job:
What I ended up was a report that claimed to be from September 1 -
September 30th, but actually it appears to only have the data for
September 30th. All the stats numbers are really low. I thought to
re-run it, but discovered that the dspace log files had been deleted.
Do the new stats programs delete the log files they use?
The stats scripts do not delete any files. The new stats scripts
introduced in 1.5 are Java replacements for the previous Perl scripts.
They were added to try and make DSpace 100% java (and therefore cross-
platform compatible).
A possible culprit for deleting old log files (dspace.log*) is the
logger itself, log4j. Look in [dspace]/config/log4j.properties to find
out how many files it is configured to keep before deleting old files.
P.S. Does the statistics program remove robots from the counts? I
thought it did, but I couldn't find anything in the code that
indicated it.
The current out-the-box installation does not remove robots.
I hope this helps,
Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/
--
***************************
George Kozak
Digital Library Specialist
Division of Library Information Technologies (DLIT), Digital Media Group
501 Olin Library
Cornell University
607-255-8924
***************************
[email protected]
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech