[Python-Dev] logging vs warnings?

Christian Robottom Reis kiko at async.com.br
Thu Jun 24 20:06:49 EDT 2004


On Thu, Jun 24, 2004 at 07:18:12AM +0200, "Martin v. Löwis" wrote:
> Gustavo J. A. M. Carneiro wrote:
> >  Why do we have modules logging(2.3) and warnings(2.1)?  Does 'logging'
> >deprecate 'warnings' in any way?
> 
> No, logging does not deprecate warnings. Logging messages, and emitting
> warnings, are two completely different things.

I was going to make the same point, but let me confirm: warnings are for
code `issues', log messages are for application level `issues', right?

Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 3361 2331



More information about the Python-Dev mailing list