View the Server Log and Restart Server

About Server Logs

We use supervisor to run and manage the logs for the eVOLVER server. eVOLVERs should come pre-configured with this.

We also provide a utility monitoring and restart script, evolvercron and server_monitor.sh. To use, add the crontab job line in evolvercron into your cron installation.

View Server Logs

To understand what you see in the server log, take a look at the information here.

  1. Connect to your server via the following command (replace <eVOLVER_IP> with your eVOLVER's IP)

    1. ssh pi@<eVOLVER_IP>

  2. Enter the eVOLVER server's password

[Option 1] View the server log live

  1. Enter the supervisor environment via the following command:

    1. sudo supervisorctl

  2. Use the following command to follow the eVOLVER server log:

    1. tail -f evolver

  3. Ctrl+C to exit

[Option 2] View the whole server log file

The server monitor stores the log file here: /var/log/supervisor/

You can either view there or move it to your computer for more analysis

Restart the eVOLVER Server

  1. If you are currently following the eVOLVER server in supervisorctl, use ctrl+C to exit. Otherwise, follow steps to view server log.

  2. Enter the following command:

    1. restart evolver

  3. If you quickly follow the server via tail -f evolver you should see it restart

Last updated