OPS102
John Sellens
john.sellens@senecapolytechnic.ca
Home UNX511 Help Notes Contact

Assignment 2 -- Embedded Debug/Activity Logging

Due: Monday August 11

This assignment is worth 11 marks total.

Business Case (Marketing, Project Manager, Senior Executives)

A product goes through the phases of business case, requirements, design, implementation, testing and rework, and eventually deployment to customers. Testing and rework attempts to simulate conditions at a customer site, but does not always catch every defect in the product. There are cases where the product malfunctions or stops working at a customer site, with very few clues as to what went wrong.

Linux has some built in logging mechanisms such as syslog, rsyslog and syslog-ng. These logs can be found in the /var/log/ directory and can be useful. More useful is if the code for the product itself had logging embedded into it. Embedding debug logs in the code assists in debugging such problems in the field which are difficult to recreate in the lab. This will greatly assist in working through problems with a customer without losing customer confidence and thereby harming the reputation of the company.

Our task then is to develop an embedded logging mechanism in our code with logs being sent to a central server which can keep track of how the code is performing.

Requirements (Marketing, Project Manager, Project Lead)

Design (Project Lead, Senior Engineers)

Each Process: The Logger: The Server:

Implementation (Junior and Senior Engineers)

Each Process: The Logger: