During this season of giving, you can show your support for the NTP Project by making a donation to Network Time Foundation.

Logging and Debugging (GSoC 2012)

Summary

Related Items: GSoC2009LogDebug, GSoC2009LoggingAndDebugging, GSoC2010LoggingAndDebugging, NTP-BUG 1093, NTP-BUG 1408, NTP-BUG 2028, NTP-BUG 2160, NTP-BUG 2227

Tasks

Timeline

Date Task Description % Done
04-23
Community Bonding
Students get to know mentors, read documentation, get up to speed to begin working on their projects.
choice-yes
05-21
Coding Begins
Students begin coding for their GSoC projects
choice-yes
05-25
Framework Design
Update the Framework Design Page with initial plans for Logging framework
choice-yes
06-28 to 06-30
Shall be away from work
I have to attend the engagement of a cousin during this period
choice-yes
07-04
API Implementation
Implementing the code for general API for Logging and identifying places in the NTP code where logging occurs
choice-yes
07-08
API Integration
Writing code to integrate the code to the new Logging API
 
07-08
Identifying new logging points
Identifying more places in code where logging is needed and integrating them
 
07-09
BO Midterm Evals
Mentors and students can begin submitting mid-term evaluations.
 
07-13
EO Midterm Evals
Mid-term evaluations deadline.
 
08-01
Implemeting Location for Logs
Location for log messages may be syslog or some file. Implementing mechanism to send messages to either.
 
08-13
Wrap-up
Suggested "Pencils Down" date. Take a week to scrub code, write tests, improve documentation, etc.
 
08-20
Firm "Pencils Down"
Mentors, students and organization administrators can begin submitting final evaluations to Google.
 
08-24
Final Evaluation
Final Evaluations Deadline
 
08-27
Final Results
Final Results Announced
 
08-31
Code Samples
Students begin uploading code samples
 

Discussion and Comments

A repository setup for the API code at psp-deb1.ntp.org:/home/rajul/logging_repo

-- RajulSrivastava - 2012-07-04

Log Archive : We can have an archive for older log messages.....Just an idea that came to my mind...so i just thought I will put it here before I lose it!!!

-- RajulSrivastava - 2012-07-08

Tag Block : An enclosed block of logging statements that have same tags...like all logging statements that lie between say TAG_BLOCK.....END_BLOCK .....Another idea!!

-- RajulSrivastava - 2012-07-12
 
I Attachment Action Size Date Who Comment
DPRINTF_notes.odsods DPRINTF_notes.ods manage 25 K 15 Jun 2012 - 22:56 RajulSrivastava DPRINTF Statements list throwing Debug-level Log Messages in the code. The doc can also be found at https://docs.google.com/spreadsheet/ccc?key=0AmmFOuJDrIXmdDN0V1dsQTRvc0dzY1p1dEgyNHhuWmc#gid=0
TRACE_notes.odsods TRACE_notes.ods manage 16 K 15 Jun 2012 - 22:58 RajulSrivastava TRACE Statements list throwing Debug-level Log Messages in the code. The doc can also be found at https://docs.google.com/spreadsheet/ccc?key=0AmmFOuJDrIXmdE1RS0RDSmVIYUQxcHUyWG5tWng3QVE#gid=0
YYDPRINTF_notes.odsods YYDPRINTF_notes.ods manage 9 K 15 Jun 2012 - 23:00 RajulSrivastava YYDPRINTF Statements list throwing Debug-level Messages in the code. The doc can also be found at https://docs.google.com/spreadsheet/ccc?key=0AmmFOuJDrIXmdGRFNDF4UWtNM0gzYkR0cF8xdmQ1blE#gid=0
YYFPRINTF_notes.odsods YYFPRINTF_notes.ods manage 9 K 15 Jun 2012 - 23:01 RajulSrivastava YYFPRINTF Statements list throwing Debug-level Messages in the code. The doc can also be found at https://docs.google.com/spreadsheet/ccc?key=0AmmFOuJDrIXmdDlrUUtaYlFZR1BkeHAyb29UbTdRWHc#gid=0
mprintf_Notes.odsods mprintf_Notes.ods manage 11 K 15 Jun 2012 - 22:59 RajulSrivastava mprintf() Statements list throwing Debug-level Messages in the code. The doc can also be found at https://docs.google.com/spreadsheet/ccc?key=0AmmFOuJDrIXmdEVGVXl1dW16UHpYR3pnVkVBQnUxWmc#gid=0
Topic revision: r26 - 07 Oct 2022, DruLavigne
Copyright © by the contributing authors.Use of this website indicates your agreement with, and acceptance of, the PrivacyPolicy, the WikiDisclaimer, and the PrivateWebPolicy.