The user of the logging package makes logging calls on instances of Logger, which are organized into a hierarchy based on a "dotted name" namespace. This hierarchy is embodied in an encapsulated singleton Manager instance (which can be ignored by users of the package, for most purposes). Based on the type of logging call and the logging configuration (see below)
So First just logging to terminal.
Now I will move on to logging to shell as well as file simultaneously. In the below example of logging configuration file I will comment the description of loggers, Formatters, Handlers etc.