The ns-3 Network Simulator Project

Replace Bake Logging with Python Standard Logging Facility

Bake is an installation helper of ns-3 written in python. The codebase has a logging helper written in it. But python already has a feature-rich standard library. Replace the non-standard library in bake to use the standard one.

The steps to complete this task are as follows:

  1. Clone the latest bake code.
  2. Find and understand the usage of the ModuleLogger module present in the codebase.
  3. Replace it with the python standard logger module in Bake.py.
  4. Submit a patch for evaluation.

References:

These are the minimal set of command for which the functionality should stay more or less the same before and after:

  • bake.py --help
  • bake.py configure --help
  • bake.py configure -e netanim
  • bake.py show
  • bake.py download
  • bake.py deploy

Task tags

  • python
  • logging

Students who completed this task

pterp

Task type

  • code Code
  • chrome_reader_mode Documentation / Training
  • done_all Quality Assurance
close

2019