From 99562a197e781357a521a3cf4e36d988d121c71f Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Fri, 11 Jul 2025 11:15:41 +0200 Subject: [PATCH] remove LOG_DB setting, not implemented anymore --- docs/customize/Settings.md | 20 -------------------- settings/env.defaults | 5 ----- 2 files changed, 25 deletions(-) diff --git a/docs/customize/Settings.md b/docs/customize/Settings.md index edf2241b..5be1035c 100644 --- a/docs/customize/Settings.md +++ b/docs/customize/Settings.md @@ -641,24 +641,6 @@ See also [NOMINATIM_DEFAULT_LANGUAGE](#nominatim_default_language). ### Logging Settings -#### NOMINATIM_LOG_DB - -| Summary | | -| -------------- | --------------------------------------------------- | -| **Description:** | Log requests into the database | -| **Format:** | boolean | -| **Default:** | no | -| **After Changes:** | run `nominatim refresh --website` | - -Enable logging requests into a database table with this setting. The logs -can be found in the table `new_query_log`. - -When using this logging method, it is advisable to set up a job that -regularly clears out old logging information. Nominatim will not do that -on its own. - -Can be used as the same time as NOMINATIM_LOG_FILE. - #### NOMINATIM_LOG_FILE | Summary | | @@ -682,8 +664,6 @@ given in seconds and includes the entire time the query was queued and executed in the frontend. type contains the name of the endpoint used. -Can be used as the same time as NOMINATIM_LOG_DB. - #### NOMINATIM_DEBUG_SQL | Summary | | diff --git a/settings/env.defaults b/settings/env.defaults index 3ebb288f..52dbbe8d 100644 --- a/settings/env.defaults +++ b/settings/env.defaults @@ -204,11 +204,6 @@ NOMINATIM_OUTPUT_NAMES=name:XX,name,brand,official_name:XX,short_name:XX,officia # The following options allow to enable logging of API requests. # You must rerun 'nominatim refresh --website' after changing any of them. # -# Enable logging of requests into the DB. -# The request will be logged into the new_query_log table. -# You should set up a cron job that regularly clears out this table. -NOMINATIM_LOG_DB=no - # Enable logging of requests into a file. # To enable logging set this setting to the file to log to. NOMINATIM_LOG_FILE= -- 2.39.5