title: Disable apache2 log
body: <p>I only have 32GB on my server, and the logs is eating up that space quickly. So I want to disable the logs. </p>
  
  <p>I think I found where to do it, but since I'm a complete noob when it comes to server, I don't want to start changing things without being sure that they won't crash the server. </p>
  
  <p>In etc/apache2/apache2.conf, I found this: </p>
  
  <pre><code>    #
  # The following directives define some format nicknames for use with
  # a CustomLog directive (see below).
  # If you are behind a reverse proxy, you might want to change %h into %{X-Forwarded-For}i
  #
  LogFormat "%v:%p %h %l %u %t \"%r\" %&gt;s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
  LogFormat "%h %l %u %t \"%r\" %&gt;s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
  LogFormat "%h %l %u %t \"%r\" %&gt;s %O" common
  LogFormat "%{Referer}i -&gt; %U" referer
  LogFormat "%{User-agent}i" agent
  </code></pre>
  
  <p>and in etc/apache2/conf.d/other-vhost-access-log, I found this: </p>
  
  <pre><code># Define an access log for VirtualHosts that don't define their own logfile
  CustomLog ${APACHE_LOG_DIR}/other_vhosts_access.log vhost_combined
  </code></pre>
  
  <p>What do I need to do to disable the logs? </p>
  
  <p>Thanks in advance</p>