• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Disable evok.access.log

    Official EVOK API
    2
    2
    980
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      devmicha last edited by devmicha

      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.

      1 Reply Last reply Reply Quote 0
      • T
        TomasKnot last edited by TomasKnot

        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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post