[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Taler] logging in the wallet

From: Christian Grothoff
Subject: Re: [Taler] logging in the wallet
Date: Thu, 28 Jan 2016 19:55:47 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0

The fact that [1] doesn't log line numbers (see comments) seems to be a
valid concern vs. the use of such a micro-logging function.

Also, I have the impression that this one may have a log history, but
only within the page.  What we probably want is two kinds of logging: to
console (maybe with a small wrapper, but preserving line numbers, etc.)
for developer's debugging, but also to *database* for major events (i.e.
network failure on /pay, etc.).  So for logging "big" issues to DB and
to persist those events, we definitively need something more powerful
than this. Not sure how closely the two should be related, and of course
the persistent logging will have to be done with care (i.e. limit how
much we do it for performance, and with aging to avoid huge DBs).

On 01/28/2016 06:02 PM, Florian Dold wrote:
> Any thoughts?  Should we have our own logging?
> Other people [1] have already figured out how to do the stuff we need
> for logging so that it works cross-browser.
> - Florian
> [1] http://www.paulirish.com/2009/log-a-lightweight-wrapper-for-consolelog/

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]