3 no pq r s tu n vwx yz { n| } ~      n     p n   p     y /n  2n     + +       En E D     M p Qn Q  p Q          p + +  + yn {n   {   p          n    n     n    ! "# y$ y% & y'() * y+,-. /e 0123456DELETELjava/lang/String; ConstantValueself!Ledu/ucsb/nceas/metacat/EventLog; logMetacatLorg/apache/log4j/Logger;USERAGENTLENGTHIfilter'Ledu/ucsb/nceas/metacat/EventLogFilter;enableEvenLogIndexZ()VCodeLineNumberTableLocalVariableTablethis getInstance#()Ledu/ucsb/nceas/metacat/EventLog; StackMapTablelog](Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)VlocalIdrevguidpid)Lorg/dataone/service/types/v1/Identifier;eLjava/lang/Exception; ipAddress userAgent principaldocideventlogData%Ledu/ucsb/nceas/metacat/EventLogData; filterOut|getIndexFieldsL(Lorg/dataone/service/types/v1/Identifier;Ljava/lang/String;)Ljava/util/Map; fieldName eventCounteventLog"Lorg/dataone/service/types/v2/Log;valuesLjava/util/List;fieldsLjava/util/Map;LocalVariableTypeTable$Ljava/util/List;GLjava/util/Map;>; Signature(Lorg/dataone/service/types/v1/Identifier;Ljava/lang/String;)Ljava/util/Map;>;insertLogEntry((Ledu/ucsb/nceas/metacat/EventLogData;)VstmtLjava/sql/PreparedStatement;Ljava/sql/SQLException; insertStringdbConn.Ledu/ucsb/nceas/metacat/database/DBConnection; serialNumbero78 getReport([Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Ljava/sql/Timestamp;Ljava/sql/Timestamp;Z)Ljava/lang/String;i fullDocidvalparameterIndexrsLjava/sql/ResultSet;[Ljava/lang/String; startDateLjava/sql/Timestamp;endDate anonymous resultDocLjava/lang/StringBuffer;query clauseAdded startIndexendIndex paramValues$Ljava/util/List;9:;< isDeleted(Ljava/lang/String;)Zdocidseventsreportdeleted getD1Report([Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/sql/Timestamp;Ljava/sql/Timestamp;ZLjava/lang/Integer;Ljava/lang/Integer;)Lorg/dataone/service/types/v2/Log;e14Ledu/ucsb/nceas/utilities/PropertyNotFoundException; eventStringlogEntry'Lorg/dataone/service/types/v2/LogEntry; identifiersubject&Lorg/dataone/service/types/v1/Subject;logEventString startTimeJendTimeendTime2 fieldsStmt countStmtlogstotalcountRsstartLjava/lang/Integer;count isCreateEvent memberNode,Lorg/dataone/service/types/v1/NodeReference;nodeId subQueryFrom countSelectsubquerySelect fieldSelect orderByClause countQuery pagedSubquery pagedQuery9Ljava/util/List;=generateXmlRecord(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/sql/Timestamp;)Ljava/lang/String;entryId dateLoggedrecgenerateXmlElement8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;namevalue SourceFile EventLog.java edu/ucsb/nceas/metacat/EventLog> ?@ %edu/ucsb/nceas/metacat/EventLogFilterA BCindex.accessLog.count.enabledD EF #edu/ucsb/nceas/metacat/EventLogData G H IJ KLM N OP'org/dataone/service/types/v1/Identifier QRS T UVjava/lang/Exception(Could not update event index information WXjava/lang/StringBuilderEventLog.log - The event - YZ generated by the user  at the address 1 is in the blacklist and Metacat wouldn't log it. [\ ]^_count_i _\ `Jjava/lang/String= ab 78 cdjava/util/ArrayList9 efjava/util/HashMapg hi1Could not update event index information on pid:  for event: pinsert into access_log(ip_address, user_agent, principal, docid, event, date_logged) values ( ?, ?, ?, ?, ?, ? )EventLog.insertLogEntryj kl7 md n\ od pq rs t\: uv w\ x\ y\java/sql/Timestampjava/util/Date z{ | }~ d  java/sql/SQLException'Error while logging event to database: \ W^java/lang/StringBuffer\select entryid, ip_address, user_agent, principal, docid, event, date_logged from access_log Y where ip_address in (, ?)  and principal in ( docid in ( J$Could not check docid for revision: X event in (date_logged >= ?date_logged < ?EventLog.getReport ;      <    bc ^ \ fdelete delete  org/dataone/service/types/v2/Log*org/dataone/service/types/v1/NodeReference localhostdataone.nodeId J2edu/ucsb/nceas/utilities/PropertyNotFoundException from access_log   \,?select count(*) select entryid dselect entryid, id.guid as identifier, ip_address, user_agent, principal, case when event = 'insert' then 'create' when event = 'INSERT' then 'create' when event = 'upload' then 'create' when event = 'UPLOAD' then 'create' else event end as event, date_logged from access_log al, identifier id where al.docid = id.docid||'.'||id.rev and al.entryid in  order by entryid The count query is ^    (  ) The selection query is The startDate in the query is YThe endDate in the query is EventLog.getD1ReportinsertINSERTuploadUPLOADcreatejava/util/Vector d {-Time to start to execute the selection query Y#Time to run the selection query is  seconds.%org/dataone/service/types/v2/LogEntry R N/A R R$org/dataone/service/types/v1/Subject unknown R  +Time to put the query result to the log is   d ,Time to start to execute the counting query "Time to run the counting query is   Error while getting log events:  entryid gh  <>JSZasvx 7<>5 J) S x %MB1 ,wY ,"("&N6+)*:*+YS,,,-:.6/Y0:,1W2Y3:-4W+N*Y 5"+)"6","&-w{>'DKTajux{|f `]'QD4T$j|'T$j xB'7MN689N-:6+;:<=:-,>:+?@@+A@+B@+C@DYEYFGHIJWK-L7:*Y N"O"&P-L:-LMr*5<HR^jvR<c     55rh  ]QYR:QYR:  STW+,-   UTW6 6 6 /Y0: +G VTW6+*  WTW XTW +21W YTW6 ,T  ZTW [TW6,*  WTW XTW ,21W YTW6 -  ZTW \TW6-W  WTW XTW-2:]:":*Y ^""&_ 1W YTW6 V  ZTW `TW6+  WTW XTW 21W YTW6   ZTW aTW6 !  ZTW bTW6  `6 :6c9::6 d>:6 e:f g+:@IIhWi:jTWkTWl^*mn mmn mmmopTWqTWKL9:*Y N"O"&rL:Ld*14!MK!AKKMKq 5=@CFOS [ e j rz  !#$%'()*,$-*0144163S5](c7k8n:s;x<>?@ACD?FGIJKMNOQRSUVW Y Z]^a)c,dKeYf\gahojtkmnpqrsuvwxyz{ts}~!#5>AHKTW^..6*3[0K)  ,# ]]]]]]] ]! T"#K$# @% C& F' O(  Q N O()  (5** ++++,,**-    ++++,,**-    +++++,,**-./& 0++++,,**-.0*++++,,**-.0*++++,,**-.0*++++,,**-.0*#++++,,**-i 121 \=++sntK+N-+S+:uS::::6 *- v:   wx=>!'*-036IXZp C3!94*0--0*3' 6$! I5 \\Z6 G78)6 yYz: {Y|: }: ~: :  QYR:TW6/Y0:+_ZTW UTWVTW6+* WTWXTW+21WYTW6,_ZTW UTW[TW6,* WTWXTW,21WYTW6-_ZTW UTW\TW6-* WTWXTW-21WYTW6xZTW UTW`TWXTW:t)6 TWTWTWTW 1WYTW6&ZTW UTWaTW6&ZTW UTWbTW6::::Y "d"&:*Y ""&Y "d""& :Y """""&:*Y ""&*Y "&*Y "&:69::6>:>:6e:f+g+:@@ @@@@@@@@@@IIIIY: k7*Y "&hW7 *Y " em"&i:""lѻY:##"mY:$$"m#$# "m:%"m "m:%#%Y:&& "m#&"m:'':'#'#"o# #1W+K7#*Y "# em"&   67*Y "&hW7!*Y "!em"&i:##l #6K L;:*Y "O"&L:(L(  ##WaM#Wa  #%*1:BENRWbjr| "*2<AIQ]cknsx    %-58<!@$D8H;a<|>?@ABD E#H*I1L:MCPFQeRpS{T~UWZ[\]^_`abcdefghklmn!p&q1r<s?xH{P|U}p~x}!*AHSX\cqx,5?IPW^ac2%9:u..5.I;e<=#>$}%*X?@&S/A'UcBC};DC  "'EC#:F CG FHHIzBCRDC!5"J#c   !KLML N  OP Q :bR#EW%NN(<`S@\TDXUHTVa;WXY | #yHHZNN()1#+++,,[[\]^7*-      G   +++,,[[\]*-../1m!+++,,[[\]*-..-0H#+++,,[[\]*-..-0_`_#+++,,[[\]*-..-0_`_%+++,,[[\]*-..-0_`aa%+++,,[[\]*-..-0_`aa(!+++,,[[\]*-..-02"+++,,[[\]*-..-0+++,,[[\]*-k bc# QYR:TW*+TW*,TW*-TW*TW*TW*TW*ȷTWɶTWd.  +8FTbs{\ de xf#ghi+Y ʶ"+"˶","̶"+"˶"& ++i+jk Tlm