Re: [setuptools] Logging
Nikolaus Rath <[email protected]> Thu, 15 Apr 2010 14:54:04 -0400
| Newsgroups | gmane.comp.python.peak |
|---|---|
| Message-ID | <[email protected]> |
On 04/15/2010 02:30 PM, P.J. Eby wrote: > At 11:27 AM 4/15/2010 -0400, Nikolaus Rath wrote: >> Hello, >> >> I would like to be able to specify a log level when running my test >> suite. What is the best way to do this? >> >> I was thinking about either adding an additional '--log-level' option to >> the existing 'test' command or adding the option globally for the entire >> setup.py. But I didn't find any information about how to do any of these >> two. > > Have you tried -v and -q? The test command already supports these, as > does the entire setup.py. No, I haven't. I want to initialize the "logging" module with its 5 or so logging levels, and these options just control the verbosity of setup.py und unittest, right? Best, -Nikolaus -- »Time flies like an arrow, fruit flies like a Banana.« PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C