[OSM-dev] Osm2pgsql outputs

Jon Burgess jburgess777 at gmail.com
Sun Feb 13 22:46:20 GMT 2011

On Sun, 2011-02-13 at 23:22 +0100, Rodolphe Quiedeville wrote:
> Hi,
> Is there a reason for logging all actions in osm2pgsql to stderr ? What
> do you think about splitting outputs and print progress information to
> stdout ?

A long time ago I think osm2pgsql wrote the SQL to stdout instead of
talking directly to the database. I don't see any reason why the
progress output should not be moved to stdout instead.

> I use osm2pgsql as subprocess of python script and look at errors, by
> now it's not easy to split normal progression from errors.
> I can do the modification in code, but I prefer to see that point with
> other dev before doing anything.
> Regards,


More information about the dev mailing list