Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
OSEE/ReqAndDesign
< OSEE
Revision as of 15:08, 28 October 2013 by Ryan.d.brooks.boeing.com (Talk | contribs) (Created page with "== Logging == === Requirements === * handle thousands of entries per second * quickly accessable based on any combination of server, user, timestamp, log type === Design === i...")
Logging
Requirements
- handle thousands of entries per second
- quickly accessable based on any combination of server, user, timestamp, log type
Design
id, time, agent, source, type, details (maybe in json format), duration
log event are defined as tokens with long and name (which is not in db)
at runtime enable/disable logging by agent, source, and type
even progress is reported using logger
need to see what is still running even if server is unresponsive need to to cross server analysis
http://www.precisejava.com/javaperf/j2ee/JDBC.htm#JDBC104
-7 is used for duration on instantaneous events otherwise the actual duration in ms is updated upon completion (in the meantime -1 is used)