mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
make log output configurable
This commit is contained in:
@@ -208,6 +208,13 @@ NOMINATIM_OUTPUT_NAMES=name:XX,name,brand,official_name:XX,short_name:XX,officia
|
||||
# To enable logging set this setting to the file to log to.
|
||||
NOMINATIM_LOG_FILE=
|
||||
|
||||
# Set the output format of the query log.
|
||||
# This is a string following the Python String Format syntax,
|
||||
# see https://docs.python.org/3/library/string.html#formatstrings.
|
||||
# For possible replacement values, see the full documentation at
|
||||
# https://nominatim.org/release-docs/latest/customize/Settings/
|
||||
NOMINATIM_LOG_FORMAT='[{start}] {total_time:.4f} {results_total} {endpoint} "{query_string}"'
|
||||
|
||||
# Echo raw SQL from SQLAlchemy statements.
|
||||
# EXPERT: Works only in command line/library use.
|
||||
NOMINATIM_DEBUG_SQL=no
|
||||
|
||||
Reference in New Issue
Block a user