how to change the docker logging severity? #220
-
When I run 'docker logs searxng' I see WARNING messages about matching IPs I've added to the PASSLIST in limiter.toml I'm not sure I care about WARNING messages. How can I adjust it so I only see ERROR severity or above? Is it something I can change in the options in docker-compose.yaml? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Sadly the log level of the https:/searxng/searxng/blob/c0b97c65438be44dd5f5e64786576763993ce424/searx/__init__.py#L20-L21 and sadly the logging of the botdetection goes to child logger Hope the situation will be improved when is merged .. at least this PR will move logs from On the long term it would be best we have a |
Beta Was this translation helpful? Give feedback.
Sadly the log level of the
searx
log is hard coded at the moment:https:/searxng/searxng/blob/c0b97c65438be44dd5f5e64786576763993ce424/searx/__init__.py#L20-L21
and sadly the logging of the botdetection goes to child logger
searx.botdetection
Hope the situation will be improved when
is merged .. at least this PR will move logs from
searx.botdetection
to abotdetection
logger.On the long term it would be best we have a
/etc/searxng/log.cfg
for a individual setup of the logging (settings.yml
isn't the right place I think).