Skip to main content

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.

Jump to: navigation, search

OSEE/ReqAndDesign

< OSEE
Revision as of 15:52, 28 October 2013 by Ryan.d.brooks.boeing.com (Talk | contribs) (Requirements)

Logging

Requirements

  • shall handle thousands of log entries per second
  • log entries shall be quickly accessible based on any combination of server, user, timestamp, log type, duration, status
  • log entries shall be accessible (especially) when an application server is unresponsive
  • log entries shall be available until they are deleted by an admin or admin policy (applied by server automatically)
  • at run-time logging shall be enabled/disabled based on any combination of user, source, and type

Design

id, timestamp, user, source, type_id, duration, status, details (maybe in JSON format)

log entry types are defined as tokens with a long and name (which is not in db) 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)

Exception Handeling

Requirements

Design

Back to the top