Skip to content

Commit 5feb43b

Browse files
committed
Generalization: Output SQL query duration in debug mode only
1 parent 93c3583 commit 5feb43b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gen/osm2pgsql-gen.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,8 @@ class genproc_t
365365
util::timer_t timer_sql;
366366
pg_conn_t const db_connection{m_conninfo};
367367
db_connection.exec(sql);
368-
log_info("SQL command took {}.",
369-
util::human_readable_duration(timer_sql.stop()));
368+
log_debug("SQL command took {}.",
369+
util::human_readable_duration(timer_sql.stop()));
370370

371371
return 0;
372372
}

0 commit comments

Comments
 (0)