[postgis-users] PostGIS and logging

Shira Bezalel shira at sfei.org
Wed Jan 22 07:18:03 PST 2014


Hi Sandro,

show client_min_messages returns 'notice', but that parameter shouldn't
affect what is  written to the log, correct?

Shira


On Mon, Jan 20, 2014 at 5:07 AM, Sandro Santilli <strk at keybit.net> wrote:

> Shira, make sure your configuration is being honoured by running
>
>     show client_min_messages;
>
> --strk;
>
> On Sat, Jan 18, 2014 at 08:48:49AM -0500, Paul Ramsey wrote:
> > The PostGIS notices are being generated using PostgreSQL
> > infrastructure (elog(NOTICE, "message")) so I'm surprised they are
> > behaving differently from any other generated notice...
> >
> > P.
> >
> > On Fri, Jan 17, 2014 at 1:15 PM, Shira Bezalel <shira at sfei.org> wrote:
> > > Our Postgres log is set to send only WARNING messages and later levels
> to
> > > the server log. That is, the config parameter log_min_messages is set
> to
> > > 'WARNING'.
> > >
> > > However, perusing through our recent log files, I'm observing NOTICE
> > > messages from PostGIS, for example, there are lots of these:
> > >
> > > NOTICE:  Self-intersection at or near point -66980.196160571402
> > > -295373.21392871498
> > >
> > > We've tested raising notices from psql and they're not getting sent to
> the
> > > server log -- only these PostGIS messages.
> > >
> > > So my question is: Do PostGIS messages ignore the logging configuration
> > > params somehow? If so, is there any easy way to prevent these PostGIS
> > > notices from going into the server log?
> > >
> > > Thanks,
> > > Shira
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>



-- 
Shira Bezalel
Systems & Database Manager
San Francisco Estuary Institute
www.sfei.org
Ph: 510-746-7304
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20140122/24e10334/attachment.html>


More information about the postgis-users mailing list