-
we are using sws in kubernetes, with a liveness probe configured to check the status of the sws instance livenessProbe:
httpGet:
path: /
port: http
periodSeconds: 5 this works very well, but generates a lot of logs of very low value for us:
I've found a way to globally change the log level, but that would also disable the logs for the actual requests. Is there a way to filter the logs in sws? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Unfortunately, there is no way from the settings right now to keep some access So probably we will need to introduce some way for fine-grained logs. Probably via some access log setting or so. See discussion. |
Beta Was this translation helpful? Give feedback.
-
A question, is your liveness probe also caring about the logs shown, or is it just enough with receiving a Additionally, if the liveness probe cares only about receiving a successful response then you could try to send a |
Beta Was this translation helpful? Give feedback.
-
This is resolved by #238 |
Beta Was this translation helpful? Give feedback.
This is resolved by #238