NOTE: This article is written for our First-Generation Cloud Control Panel. You can access this interface from the Next-Generation Cloud Control Panel by clicking your username in the upper-right of the control panel and selecting "First-Generation Control Panel".
Yes, you can activate raw logs for stats within the Control Panel.
Pre-requisites
Procedure


Note: log files are purged after 6 days
© 2011-2013 Rackspace US, Inc.
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License

5 Comments
Logs
RE: Logs
The easiest way to access your logs is through your FTP client. Open up your FTP client, select your Domain, and within that folder, you should have a Logs folder. When you select the logs folder, you should see all your information. Grab all that data and drag it to your local machine. This may vary depending on what FTP client you're using, but you should have a logs folder within your FTP client.
Let us know if you need any other assistance.
-Rae
Purged after 6 days?
re: purge time
http://www.rackspace.com/knowledge_center/article/how-to-use-cron-to-backup-cloudsites-to-cloudfiles
You can also use FTP or SFTP in a script to transfer logs from Cloud Sites to a workstation.
Simple script to copy log files
1. create folder www.domain.com/logs_archive
2. Save script in root/archive-logs.sh
3. Create cron/schedule via control panel, for instance at 1 AM.
4. Script:
#!/bin/sh
cp /mnt/path/www.domain.com/logs/* /mnt/path/www.domain.com/logs_archive/ -u
## -u make sure only new files are copied.
Add new comment