Question: Your company has been using a device on a computer to collect logs and store them in a tamper-proof fashion. Programs log to this device
Your company has been using a device on a computer to collect logs and store them in a tamper-proof fashion. Programs log to this device by writing to the device /dev/tplog. You have been asked to implement a software solution. After having all the functionality implemented, now you wonder how to make your solution work for all the existing legacy programs. Fortunately, the device file name (/dev/tplog currently) is defined by some global environment variable, and you can change it. How would you design your program to interact with the environment so that the legacy programs dont have to be modified?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
