In <5a53c1ca-1104-40f2-9401-a6d3b3673...@googlegroups.com> kumar <arun.achu...@gmail.com> writes:
> Hi folks, > i'm new to python i understood the logging mechanism but unable to > understand how these are applied in real time examples can any body help > me out Here are some very simple examples: import logging logging.info('This message will be logged at the INFO level.') logging.error('This message will be logged at the ERROR level.') logging.debug('This message will be logged at the DEBUG level.') Did you need help with some specific aspect of logging, like sending the output to a file instead of the default destination? -- John Gordon Imagine what it must be like for a real medical doctor to gor...@panix.com watch 'House', or a real serial killer to watch 'Dexter'. -- https://mail.python.org/mailman/listinfo/python-list