[postgis-users] PostGIS and logging

Sandro Santilli strk at keybit.net
Mon Jan 20 05:07:38 PST 2014


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


More information about the postgis-users mailing list