[postgis-tickets] [PostGIS] #2440: Remove warnings from functions deprecated in 2.1.0
PostGIS
trac at osgeo.org
Fri Sep 27 10:13:16 PDT 2013
#2440: Remove warnings from functions deprecated in 2.1.0
----------------------------+-----------------------------------------------
Reporter: realityexists | Owner: robe
Type: defect | Status: closed
Priority: medium | Milestone: PostGIS 2.1.1
Component: postgis | Version: 2.1.x
Resolution: fixed | Keywords:
----------------------------+-----------------------------------------------
Comment(by realityexists):
The old signature is not "gone" - it still works just fine. And it
probably wouldn't take much effort to keep it working for at least a
couple of major releases.
The problem with NOTICE is that it's typically on by default, so the
message would still flood the logs. But the problem with DEBUG is that
it's off by default. :)
Ideally, this would be something the user could control. So by default it
might be NOTICE or even WARNING, so that users become aware of deprecated
functions. But then the user could say "OK, I know about this now, I'll
fix it when I can, but for now I want to turn off this message". Could it
be a PostgreSQL setting (eg. "SET postgis_deprecation_log_level = DEBUG")
or something similar?
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2440#comment:11>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list