twain47/Nominatim — pull request #88 by IrlJidel (2013-10-03 08:55:55+00:00)
Title: Logging output changes for diff updates

Minor changes to output during import-osmosis

1. start time for indexing step wasn't set
2. add dateline to output lines

example output:

................................................................
2013-10-03 01:53:18 Replication Delay is 86399
/usr/local/bin/osmosis --read-replication-interval workingDirectory=/home/roles/nominatim/app/Nominatim/settings --simplify-change --write-xml-change /home/roles/nominatim/app/Nominatim/data/osmosischange.osc
string(124) "INSERT INTO import_osmosis_log values ('2013-10-02T19:15:01Z',6613411,'2013-10-03 01:53:18','2013-10-03 01:53:31','osmosis')"
2013-10-03 01:53:31 Completed osmosis step for 2013-10-02T19:15:01Z in 0.22 minutes
/home/roles/nominatim/app/Nominatim/osm2pgsql/osm2pgsql -klas -C 2000 -O gazetteer -d nominatim /home/roles/nominatim/app/Nominatim/data/osmosischange.osc
string(126) "INSERT INTO import_osmosis_log values ('2013-10-02T19:15:01Z',6613411,'2013-10-03 01:53:31','2013-10-03 01:54:41','osm2pgsql')"
2013-10-03 01:54:41 Completed osm2pgsql step for 2013-10-02T19:15:01Z in 1.17 minutes
/home/roles/nominatim/app/Nominatim/nominatim/nominatim -i -d nominatim -t 1
string(122) "INSERT INTO import_osmosis_log values ('2013-10-02T19:15:01Z',6613411,'2013-10-03 01:54:41','2013-10-03 01:55:28','index')"
2013-10-03 01:55:28 Completed index step for 2013-10-02T19:15:01Z in 0.78 minutes
2013-10-03 01:55:28 Completed all for 2013-10-02T19:15:01Z in 2.17 minutes
2013-10-03 01:55:28 Sleeping 62373 seconds