Submitted by support0 on Sun, 03/11/2012 - 12:11
2 questions
- Where are they so I can purge them
- 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
Submitted by andreychek on Sun, 03/11/2012 - 12:49 Comment #1
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.
Submitted by JamieCameron on Sun, 03/11/2012 - 12:51 Comment #2
They are under
/var/log/virtualmin
by default.You can exclude them from scheduled backups - on the backup form, open the "Features and settings" section and un-check "Include logs directory"
Submitted by Locutus on Sun, 03/11/2012 - 12:53 Comment #3
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.
Submitted by Locutus on Sun, 03/11/2012 - 12:56 Comment #4
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?
Submitted by support0 on Mon, 03/12/2012 - 11:16 Comment #5
Found em then switched that setting on the bax. Thanks all!