Firstly, before you can view any logs, you will need to be able to SSH in to your server. To do this, you will need to have a Code Enigma account and have provided us with your SSH public key. If you tick those boxes, you will be able to connect to the server in Mac OS X or Linux by running this command from the terminal:ssh username@myserver-app1.codeenigma.com
For a more detailed explanation to connect to your server on Mas OS X and Linux, click here. For a detailed explanation to connect to your server on Windows, click here.
Once you've connected to the server, you can view the system log by running this:sudo tail /var/log/syslog
This will output the last 20 lines of the syslog. If you require more log entries, you can use the -nswitch, like so:sudo tail -n 100 /var/log/syslog
The command above will display the last 100 lines of the syslog.
Comments
Post a Comment