Overpass-API
Overpass-API copied to clipboard
[Question] How to reduce volume of output / log ?
Hi,
How I could reduce/filter/configure the output or log ?
Context:
- I deployed Overpass-API into a kubernetes cluster with a deployement
- overpass generate a bunch of log (when download, lot of
read_bloc,...), yesterday I raise more than 12 000 000 event log collected from 1 overpass instance / pod (several deployment to try to fixe the issue) for a day with nearly no activity. - I diseabled the liveness (remove the log entry due to http get call to
/or/api/status)
I searched but I was not able to find, So I ask here if someone know or have some links, tips to share. Maybe I misconfigured something.
Thank you.
I put a script in /docker-entrypoint-initdb.d/00_tune-down-logging.sh :
#!/bin/bash
set -e
#by default the clone process will use wget with verbose logging. This will cause a flood of log statements increasing costs.
echo "verbose = off" > ~/.wgetrc
echo "Done"
This reduces the "progress" output from wget. Still it's about 40000 log entries per day due to the update loop+healthchecks.