80 likes | 236 Views
Web/Trace. What? Where? When? Why? Dynamic “In The Field” Logging Controls. Web/Trace. Provides dynamic web-time (run-time) insight into the application with controlled specificity. Supports: Timing Studies Metric Collection In the Field Trouble Shooting
E N D
Web/Trace What? Where? When? Why? Dynamic “In The Field” Logging Controls
Web/Trace • Provides dynamic web-time (run-time) insight into the application with controlled specificity. • Supports: • Timing Studies • Metric Collection • In the Field Trouble Shooting • Evidence Collection for Intermittent bugs • Developers need for debugging programs • Testing - IV&V • Both J2SE (clients) and J2EE (web/EJB) • Web Trace Control servlet/JSP provided • Swing Trace Control dialog provided • Same simple Trace API for developers
CONOPS 1. Problem Encountered • 2. Administrator Activates • Web Trace Control: • - Turn’s on appropriate components • - Turns on File Logging • - Repeats Steps which led to problem • -Views log, analysis, reporting
Monitor/Control Trace via the Web Console Developers use the Web/Trace APIs to register their own trace levels and categories Administrators can copy and then attach selected trace or entire trace file as part of an incident report
Summary and Future • Open Source for DoD and others • Source code available for DoD customers • R2AD is responsible for maintenance and support • Efficient • Only those levels of trace which are “on” are processed • Developer can use an if-statement to determine if log call should be made - this helps increase normal system performance so that trace commands can be left in the code without impacting fielded performance! • Thick Client is also support via a Swing GUI • Future Capabilities • Support plug-in Java 1.4 logging (In design stage) • Log file searching coming soon (remote searching/filtering!)
Simple Design TraceDialog is used by Thick Clients by Administrators (typically) to control trace via a Swing GUI (JDialog). This can be added to your menu/button bar as needed. Trace is the main class - use it as a Singleton to gain access to Trace functionality. Make calls to register object levels/names and to turn on/off trace level at runtime. WebTraceServlet is mapped in your web.xml file so that administrators can access that URL to see the web control admin interface to turn on/off trace levels.
Contact Information • R2AD, LLC • Providing innovative software technology • Enterprise Web Development (Java, JSP, EJB) • Telephonic Software (J2ME - CLDC) • Grid Computing Consulting and Architecture • Mailing Address Location: P.O. Box 10281 McLean, Virginia 22102 Phone: (703) 714-0442 • On the Web: • http://www.R2AD.com • Need more Information or a demo? • Please contact Michael Behrens at: behrens@r2ad.com Thanks!