Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #20164
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Subject | Re: log and figure out what bits are slow and optimize them. |
| Date | 2012-02-10 14:25 +0000 |
| References | <a07666f2-a18b-4bf5-bbdc-8d7f74db09be@q8g2000pbb.googlegroups.com> <CAJ6cK1ZyvFbLPuhM7QemKxucR0h60UDPawqhxPYSo1fTe4FPag@mail.gmail.com> <CANR2JHi5a0+hQnE67LOjP8DVWd2Tb3pVa5=ir0iDRpyt6a976w@mail.gmail.com> <CANR2JHjCuJVDWQKX_+JuPGu_We6wT5J7njDoJezQD7xSHOLqog@mail.gmail.com> <CANR2JHih05nM4H+SNxU11_pLM_DXFaVSBYSS0vs9dOPhK-OC_Q@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5660.1328883921.27778.python-list@python.org> (permalink) |
Please don't top post.
On 10/02/2012 12:59, Saju M wrote:
> Yes i saw profile module,
> I think, i have to do function call via
> cProfile.run('foo()')
> I know, we can debug this way.
> But, I need a fixed logging system and want to use it in production.
> I think, we can't permanently include profile's debugging code in
> source code,
> will cause any performance issue ??
>
How about http://docs.python.org/library/logging.html ?
--
Cheers.
Mark Lawrence.
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
log and figure out what bits are slow and optimize them. sajuptpm <sajuptpm@gmail.com> - 2012-02-10 04:30 -0800
Re: log and figure out what bits are slow and optimize them. Arnaud Delobelle <arnodel@gmail.com> - 2012-02-10 12:38 +0000
Re: log and figure out what bits are slow and optimize them. sajuptpm <sajuptpm@gmail.com> - 2012-02-10 04:56 -0800
Re: log and figure out what bits are slow and optimize them. Kev Dwyer <kevin.p.dwyer@gmail.com> - 2012-02-10 22:37 +0000
Re: log and figure out what bits are slow and optimize them. John Gordon <gordon@panix.com> - 2012-02-10 23:06 +0000
Re: log and figure out what bits are slow and optimize them. sajuptpm <sajuptpm@gmail.com> - 2012-02-10 23:53 -0800
Re: log and figure out what bits are slow and optimize them. Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-02-10 14:25 +0000
csiph-web