Disable evok.access.log
-
Hello all,
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
access_log /var/log/evok.access.log;line near the top of your /etc/evok-nginx.conf file to
access_log off;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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login