Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion logging exceptions in production?

Received: by 10.58.229.73 with SMTP id so9mr582012vec.9.1348698501344;
        Wed, 26 Sep 2012 15:28:21 -0700 (PDT)
X-BeenThere: turbogears@googlegroups.com
Received: by 10.220.154.17 with SMTP id m17ls1900800vcw.1.gmail; Wed, 26 Sep
 2012 15:28:17 -0700 (PDT)
Received: by 10.52.70.82 with SMTP id k18mr761326vdu.1.1348698497392;
        Wed, 26 Sep 2012 15:28:17 -0700 (PDT)
Date: Wed, 26 Sep 2012 15:28:16 -0700 (PDT)
From: Moritz Schlarb <m...@moritz-schlarb.de>
To: turbogears@googlegroups.com
Message-Id: <00ee9e6d-287e-4b09-8f17-e1630f3a0796@googlegroups.com>
In-Reply-To: <366d5429-ee2f-4a72-9827-4c483d6be9a0@googlegroups.com>
References: <366d5429-ee2f-4a72-9827-4c483d6be9a0@googlegroups.com>
Subject: Re: logging exceptions in production?
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_2244_1475582.1348698496927"

------=_Part_2244_1475582.1348698496927
Content-Type: multipart/alternative; 
	boundary="----=_Part_2245_3381962.1348698496927"

------=_Part_2245_3381962.1348698496927
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

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

------=_Part_2245_3381962.1348698496927
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

If you set correct email settings in your production.ini you should get the full traceback per Mail!<br><br>Am Mittwoch, 26. September 2012 20:21:28 UTC+2 schrieb Juraj Variny:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Hi,<br><br>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 ?<br>I only found a hint to install external library: <a href="https://groups.google.com/d/topic/turbogears/VFVSMaaQbgY/discussion" target="_blank">https://groups.google.com/d/<wbr>topic/turbogears/VFVSMaaQbgY/<wbr>discussion</a> which is not extant anymore. <br><br>Or should I wrap all my code in try blocks and log all exceptions manually?<br></blockquote>
------=_Part_2245_3381962.1348698496927--

------=_Part_2244_1475582.1348698496927--