disable syslogging for flask.sh

Admin Beckspaced admin at beckspaced.com
Fri Feb 17 08:06:13 CET 2023


Dear list users,

in my syslog I see quite a lot of flask logging

...
Feb 16 01:18:35 cx20 flask.sh[1789]: 45.14.226.53 - - [16/Feb/2023 
01:18:35] "#033[33mGET /mPlayer HTTP/1.1#033[0m" 404 -
Feb 16 01:18:40 cx20 flask.sh[1789]: 79.124.49.14 - - [16/Feb/2023 
01:18:40] "#033[33mGET /.env.prod.local HTTP/1.1#033[0m" 404 -
Feb 16 01:18:47 cx20 flask.sh[1789]: 79.124.49.14 - - [16/Feb/2023 
01:18:47] "#033[33mGET /.env.production HTTP/1.1#033[0m" 404 -
Feb 16 01:18:50 cx20 flask.sh[1789]: 185.61.152.50 - - [16/Feb/2023 
01:18:50] "#033[33mGET /wp-login.php HTTP/1.1#033[0m" 404 -
...

would it be possible to disable syslog logging for flask?
If yes, how could that be achieved.

as flask runs behind apache web server I do have access logs
I just don't want them to show up in the syslog.

Can this be done?

thanks
& greetings
Ralf





More information about the automx-users mailing list