On Wed, Nov 18, 2009 at 12:27:12PM -0500, Jeffrey Trimble wrote:
> I know that the DSpace logs are used for the building of statistics.   
> When I migrated from
> the previous server, I may have not copied those files over just right.
> 
> Is there a logic used in the automatic naming of the log files?
> 
> For example, I have dspace.log
> dspace.log.0  through dspapce.log.500
> 
> They aren't in chronological order.

Recent versions use the RollingFileAppender to add log records to
these files, and set a maximum of 500 files retained with a maximum
size of 1MB each.  See 'config/log4j.properties'.  Unless you've
adjusted it, the current log file name would wrap around from
dspace.log.500 to dspace.log.0 after you've collected about 500MB of
logs, replacing (presumably) the earliest files first.  That the dates
are not in order suggests that this has happened.  I'm sorry to say
that unless those early files are backed up somewhere, the data are
gone.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Friends don't let friends publish revisable-form documents.

Attachment: pgpwqA8aMsrBP.pgp
Description: PGP signature

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to