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

verbose output for stats-log-importer displays spurious city/country from previous committed entry

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.6.1
    • Component/s: DSpace API
    • Labels:
      None
    • Environment:
      stats-log-importer of file dspace-stats/src/main/java/org/dspace/statistics/util/StatisticsImporter.java
    • Attachments:
      1
    • Comments:
      1
    • Documentation Status:
      Not Required

      Description

      Incorrect behavior can be see with verbose on.
      All entries show the value of the previous entry that was actually reverseDNS geolocated.

      ./dspace stats-log-importer -i /home/peter/solr-gbotexample -v
      Line:20090226153854941,view_bitstream,56358,2009-02-26T15:38:54,anonymous,68.144.13.122
      ip addr = 68.144.13.122, dns name = S0106001e58eadf86.cg.shawcable.net., country = , city =
      Line:20090226153857942,view_item,5423,2009-02-26T15:38:57,anonymous,66.249.71.38
      ip addr = 66.249.71.38, dns name = crawl-66-249-71-38.googlebot.com., country = Canada, city = Calgary, IGNORE (search engine)
      Line:20090226153858944,view_item,901,2009-02-26T15:38:58,anonymous,66.249.71.36
      ip addr = 66.249.71.36, dns name = crawl-66-249-71-36.googlebot.com., country = Canada, city = Calgary, IGNORE (search engine)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              peterdietz Peter Dietz
              Reporter:
              peterdietz Peter Dietz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: