I have connected Mapnik to PostGIS and I am using a datasource. I would like to view the SQL query that is executed when the render() method is called. I have attempted this without success. Any idea?
(mapnik as any).logger.set_severity((mapnik as any).severity_type.Debug);
(mapnik as any).Logger.setSeverity((mapnik as any).Logger.DEBUG);
I have connected Mapnik to PostGIS and I am using a datasource. I would like to view the SQL query that is executed when the
render()
method is called. I have attempted this without success. Any idea?