First , what is logging module ?
This module defines functions and classes which implement a flexible event logging system for applications and libraries.
The organisation is now as follows:
- http://docs.python.org/library/logging – reference documentation for the logging module
- http://docs.python.org/library/logging.config - reference documentation for the logging.config module
- http://docs.python.org/library/logging.handlers - reference documentation for the logging.handlers module
- http://docs.python.org/howto/logging – basic and advanced logging tutorials
- http://docs.python.org/howto/logging-cookbook – how to use logging in different scenarios
The best way to understand this module is to see the tutorials...