[Flask] Python app deployment on linux using apache+mod_wsgi
David Nieder
davidnieder at gmx.de
Thu Oct 4 03:49:15 EDT 2018
On 04.10.18 09:10, Manoj Choudhary wrote:
> Hi ,
>
> I have deployed the python app on Linux machine using apache+mod_wsgi.
>
> The logs from the python app are written in the apache error file.
> I have already seperate log files for the app.
>
> How can I avoid logs being written in the Apache file.
> Thanks for your help in advance.
>
Use "CustomLog" and "ErrorLog" in your Apache config.
https://httpd.apache.org/docs/current/mod/mod_log_config.html#customlog
If you don't want logs at all just write them to /dev/null
> Regards,
> Manoj
>
>
More information about the Flask
mailing list