standardnotes / syncing-server

[Deprecated: Use our new Node server: https://github.com/standardnotes/syncing-server-js]
https://standardnotes.org
GNU Affero General Public License v3.0
209 stars 48 forks source link

Too many messages logs, source is unknown #201

Closed MichiFr closed 3 years ago

MichiFr commented 3 years ago

Hi!

Just noticed that my dockerized sync server as well as the SN web server, is spamming the message log with many entries like those.

Here the source is the SN web server: grafik

The source is the sync server: grafik

So can I stop this logs from appearing somehow? Or maybe lower the level of those message so just errors appear? Btw, the message are logged each 5 secs.

Michael

MichiFr commented 3 years ago

Replying myself: I've found out why this happens every 5s. The source is HAProxy - reverse proxy. I'm running HAProxy that is checking if both servers are reachable and routes any traffic to the servers if so. HAProxy will drop any connection attempt otherwise.

I can change this interval to a higher value, nevertheless it would be interesting why the attempt ( GET HEAD / ) is logged anyway. Guess that this is due to a NGINX web server the docker container is using....

MichiFr commented 3 years ago

Today I can report, issue is resolved!