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.


  • administrators

    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.