5 Comments
User's avatar
Rohit Jain's avatar

log_generator.py file in day 3 is different from log_generator.py file in day 2, Moreover it It seems incorrect.

System Design Course's avatar

Each lesson's source code is not similar to others, let me take a look at correctness.

Rohit Jain's avatar

There are two log_collector.py files in git repo which is confusing , directory structure for the project is not clear from the explanation above. I am not able to run this project.

System Design Course's avatar

Corrected the steps, must run log-generator to generate logs .

Go to log-generator directory and run log generation

cd log-generator

python log_generator.py

Run the collector (assuming you have a log file to watch):

python log_collector.py --files ./log-generator/logs/application.log

Rohit Jain's avatar

There are two log_collector.py files in git repo which is confusing , directory structure for the project is not clear from the explanation above.