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

                 Key: DS-542
                 URL: http://jira.dspace.org/jira/browse/DS-542
             Project: DSpace 1.x
          Issue Type: Bug
          Components: DSpace API
    Affects Versions: 1.6.0
         Environment: stats-log-importer of file 
dspace-stats/src/main/java/org/dspace/statistics/util/StatisticsImporter.java
            Reporter: Peter Dietz
            Assignee: Peter Dietz
            Priority: Trivial
             Fix For: 1.6.1
         Attachments: StatisticsImporter-verbose-spurious.patch

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)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to