study python logging.
simple logging usage.