[Pywps-dev] database logging to pywps

Jachym Cepicky jachym.cepicky at gmail.com
Thu Dec 31 07:46:09 PST 2015


just python-sqlite3, it's few lines of code in current structure


j

On Thu, Dec 31, 2015, 10:12 Luís de Sousa <luis.a.de.sousa at gmail.com> wrote:

> Very nice, thanks for keep it going.
>
> Is there anything new to the install process? Or is the db bundled
> with the remainder of the code?
>
> Cheers,
>
> Luís
>
> On 31 December 2015 at 00:51, Jachym Cepicky <jachym.cepicky at gmail.com>
> wrote:
> > Hi,
> >
> > the logging functionality is now in master. In our sqlite database, we
> > should always be able to see *current* status of past and running
> processes,
> > when they started and ended, this needs to be totally tested, but I hope,
> > it's doing what it's supposed to do
> >
> > cheers
> >
> > J
> >
> > po 28. 12. 2015 v 22:39 odesílatel Jachym Cepicky <
> jachym.cepicky at gmail.com>
> > napsal:
> >>
> >> Hi all,
> >>
> >> today, I've introduced database logging capability for PyWPS-4  - first
> >> proof-of-concept version.
> >>
> >> Idea: to track current status, needed time, log message, percent done
> etc.
> >> for all requets (and use it later for automatic validation of each
> process,
> >> process pausing, resuming, ...)
> >>
> >> I've used (hardcoded) sqlite3 database for it, it still lives in
> separate
> >> branch (not in master, but in [1]), would be nice, if someone could
> have a
> >> short look on it [2]
> >>
> >> data stored:
> >>
> >> ['uuid', 'operation', 'version', 'time_start', 'time_end', 'identifier',
> >> 'message', 'percent_done', 'status']
> >>
> >> thanks
> >>
> >> J
> >>
> >> [1] https://github.com/jachym/pywps-4/tree/logging
> >> [2]
> >>
> https://github.com/jachym/pywps-4/commit/301516ae11cd5d51a3fefca0ca8e05e7163fbfbd
> >
> >
> > _______________________________________________
> > pywps-dev mailing list
> > pywps-dev at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/pywps-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pywps-dev/attachments/20151231/96518f78/attachment.html>


More information about the pywps-dev mailing list