Saju M <sajup...@gmail.com> writes:

> Hi,
>
> Yes i saw profile module, I think, i have to do function call via
> cProfile.run('foo()') I know, we can debug this way.

You should do this in development to identify pain points. The results
might be interesting. 


> 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 ??

Yes. You can't do that. 

One option is to use something like graphite to capture statistics that
your app emits. It should be able to give you a graph of various
parameters at various times. 


[...]


-- 
~noufal
http://nibrahim.net.in

If Roosevelt were alive, he'd turn over in his grave. -Samuel Goldwyn
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to