Package org.bedework.bwlogs
Class LogReader
java.lang.Object
org.bedework.bwlogs.LogReader
- Direct Known Subclasses:
LogAnalysis
Q&D log analyzer. Here so we can run it from the cli
A log line looks like (this is one line)
2019-01-04 00:00:11,742 INFO [org.bedework.webcommon.search.RenderSearchResultAction] (default task-27) REQUEST:rFtrI_S0o_P8sp0fa9cm7ZvR9a5aK6NkZ1Ml8oSF:unknown:charset=UTF-8:10.0.250.197:http://calendar.yale.edu/cal/main/showMainEventList.rdo - Referer:http://calendar.yale.edu/cal/main/showEventList.rdo;jsessionid=rFtrI_S0o_P8sp0fa9cm7ZvR9a5aK6NkZ1Ml8oSF.ip-10-0-10-5 - X-Forwarded-For:117.222.245.27
or this one
2019-03-15 15:20:22,912 INFO [org.bedework.webcommon.BwCallbackImpl] (default task-4) REQUEST-OUT:MYISJK5RJkg3NkoW6XKCJpfG_R6v106z83Xg9Nnz:bwclientcb:charset=UTF-8:10.0.250.197:http://calendar.yale.edu/cal/event/eventView.do;jsessionid=yb4n2K2XFwM1yJV0RCt0k2FHUx2EQP0uEVAt7Nlk.ip-10-0-10-189?b=de&href=%2Fpublic%2Fcals%2FMainCal%2FCAL-ff808081-6831cab0-0168-33304e60-00003754.ics - Referer:NONE - X-Forwarded-For:54.70.40.11User: mike Date: 10/23/22 Time: 00:31
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Map<String,ContextInfo> protected booleanprotected longprotected LogEntryprotected final Map<String,ReqInOutLogEntry> protected long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckErrorLine(String ln) protected booleanprotected booleanprotected voidout()protected voidprotected voidvoidoutSummary(LogEntry le) voidabstract voidabstract voidvoidrequestOut(ReqInOutLogEntry rsin, ReqInOutLogEntry rsout) abstract voidresults()protected booleanwildflyStart(String ln)
-
Field Details
-
dumpIndented
protected boolean dumpIndented -
lastReqline
-
errorLines
protected long errorLines -
unterminatedTask
protected long unterminatedTask -
tasks
-
contexts
-
longreqIpMap
-
-
Constructor Details
-
LogReader
public LogReader()
-
-
Method Details
-
processRecord
-
processInfo
-
requestOut
-
results
public abstract void results() -
process
-
wildflyStart
-
infoLine
-
debugLine
-
checkErrorLine
-
outSummary
-
taskIdSummary
-
outFmt
-
out
-
out
protected void out()
-