The logging module keeps a record of the occasions that happen inside a program, making it conceivable to see output which is related with any of the occasions that happen all through the runtime of a part of the software. The main role of the logging module is to log messages to a data instead of support. Keeping a record of messages gives you information after some time that you can counsel and measure with the goal that you can perceive what changes should be made to your code.