In addition to what Moritz said, you absolutely should be getting
tracebacks in your log files. I know that I do. What's probably
killing you, though, is the settings in your .ini file. Understanding
all of the ins and outs of configuring the Python logging module is
not always easy.

Could you post your .ini file for your applicaiton (sanitizing
passwords and other sensitive information, of course!), and I'll help
you figure out why you're not getting the info in your log files.

Thanks!

On Wed, Sep 26, 2012 at 6:28 PM, Moritz Schlarb <[email protected]> wrote:
> If you set correct email settings in your production.ini you should get the
> full traceback per Mail!
>
> Am Mittwoch, 26. September 2012 20:21:28 UTC+2 schrieb Juraj Variny:
>>
>> Hi,
>>
>> when there is an exception in production mode, all I get is one-line
>> message on the console and nothing in the log file, regardless of log level.
>> Is it possible to enable logging of exception backtraces ?
>> I only found a hint to install external library:
>> https://groups.google.com/d/topic/turbogears/VFVSMaaQbgY/discussion which is
>> not extant anymore.
>>
>> Or should I wrap all my code in try blocks and log all exceptions
>> manually?
>
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/turbogears/-/S7KDDW0YN7oJ.
>
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/turbogears?hl=en.



-- 
Michael J. Pedersen
My Online Resume: http://www.icelus.org/ -- Google+ http://plus.ly/pedersen
Google Talk: [email protected] -- Twitter: pedersentg

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to