-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This issue is totally unrelated to the topic of the list.
We have a Zope extension that deals with load-balanced instance
(e.g. you can restart instances within a "cluster" and aggregate
all error logs from all instances into a single view) - don't ask, it
is not public. Using supervisor might resolve these issues in a similar
way.
Andreas
On 15.04.2009 9:35 Uhr, Hedley Roos wrote:
> Hi
>
> When an error is encountered on a page the user is presented with
>
> """
> We're sorry, but there seems to be an error…
> The error has been logged as entry number 1239780349.450.939265417763.
> """
>
> This number does not help at all if you run multiple zeo clients since
> the error number is tied to the instance. So the next time you try to
> navigate to the error_log link you probably will not find the error
> since you will be served by another instance.
>
> My quick solution is to modify standard_error_message.py and at the
> bottom do
> """
> if error_log_id:
> context.plone_log("Error reference number: %s (traceback above)" %
> error_log_id)
> """
>
> That way the number gets written to the event log on the filesystem and
> I can grep for it. It is not perfect but it is good enough for me.
>
> Is there perhaps a better way to handle this? I'm thinking of an entry
> point before standard_error_message.
>
> Hedley
>
> _______________________________________________
> Product-Developers mailing list
> [email protected]
> http://lists.plone.org/mailman/listinfo/product-developers
- --
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [email protected] - Phone +49 - 7071 - 793376
Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535
Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK
- ------------------------------------------------------------------------
E-Publishing, Python, Zope & Plone development, Consulting
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAknlofgACgkQCJIWIbr9KYySigCglO8SZPuz8mt1fBjwGDSpIk5H
OEMAoI3/3MvAMkV5amvpX/xG+jHminX7
=qJXj
-----END PGP SIGNATURE-----
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:[email protected]
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers