devmicha last edited by devmicha
What is the safest way to disable writing logs into /var/log/evok.access.log file? Can I just change permissions/disable writing for all users or is there any option in /etc/evok.conf or other file?
This file (evok.access.log) can grow to big sizes if we constantly send requests from other applications (eg web interface; rest api), so I want to disable appending that file.
You can change the
line near the top of your /etc/evok-nginx.conf file to
This should take care of it. You can also pipe it to /dev/null or create some sort of a log rotation scheme using CRON instead.