Apache Log files

2 questions

  1. Where are they so I can purge them
  2. Is there a way I can easily leave them out of my VirtualServer auto backup (My S3 bucket it too big because of them)
Status: 
Closed (fixed)

Comments

Howdy -- the Apache logs for each Virtual Server are in $HOME/logs/.

They should be rotated each night when logrotate runs, so they shouldn't be particularly large unless you're seeing a lot of traffic (or getting a lot of errors).

However, when setting up the Scheduled Backups -- if you go into Features and Settings of your scheduled backup, you can uncheck the "Include logs directory" if you don't want your logs included with the Virtual Server backups.

  1. They are under /var/log/virtualmin by default.

  2. You can exclude them from scheduled backups - on the backup form, open the "Features and settings" section and un-check "Include logs directory"

If I recall correctly, the server's home directory contains softlinks to the actual log files which are located in /var/log/virtualmin. The exact path might be distro dependent.

My apologies for changing this ticket's assignment. It happened because Jamie's and my post intersected, so my "assigned to" box listed Eric. I suppose this could be considered a Drupal glitch?

Found em then switched that setting on the bax. Thanks all!