Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-1401

"stats-log-converter -m" not working

    XMLWordPrintable

    Details

    • Type: Documentation
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.0
    • Component/s: None
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      3
    • Documentation Status:
      Complete or Committed

      Description

      When I run
      /dspace/bin/dspace stats-log-converter -m -i /dspace/log/dspace.log* -o statistics.log -n
      only the first file matched is converted (e.g. dspace.log.2012-09-12).

      I'm judging I'm not the only one who has this problem because I found this page suggesting a workaround:
      http://wiki.lib.sun.ac.za/index.php/SUNScholar/Asset_Statistics/Old_Versions
      That workaround is inefficient because it requires starting up the JVM once for each day of statistics processed.

      The relevant code is here:
      https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/statistics/util/ClassicDSpaceLogConverter.java#L345

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              helix84 Ivan Masár
              Reporter:
              helix84 Ivan Masár
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: