Logging on CodeRed Cloud#
Application Logs#
Your website is automatically configured to log certain information to file,
which is available via SFTP in the /log/
directory.
Cron job runs and output (under
/log/cron.*/)WordPress: Apache HTTP access and error logs (under
/log/apache2/)Django-based sites: WSGI request and error logs (under
/log/wsgi/)Emails sent by your website (only if using
sendmailbackend; under/log/cr-sendmail/). See CodeRed Email Sending Service.
All logs are rotated daily and retained for 30 days, and are included in your website backups.
Creating Custom Application Logs#
Your webiste can write custom logs to file in the /log/ directory, or
a sub-directory thereof. For example: /log/myapp.log or
/log/myapp/something.log. Be sure to use the .log extension so the
file will be rotated and included in backups.
Dashboard Activity#
CodeRed also logs activity performed on your website by users in the dashboard, which is available to view by clicking Tasks > View All from the top of the CodeRed Dashboard.
Website deployments
Website restarts
Website clone to staging
SFTP password resets
Database password retrieval
Database resets