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.
Connect to your server via the following command (replace
<eVOLVER_IP>
with your eVOLVER's IP)ssh pi@<eVOLVER_IP>
Enter the eVOLVER server's password
[Option 1] View the server log live
Enter the supervisor environment via the following command:
sudo supervisorctl
Use the following command to follow the eVOLVER server log:
tail -f evolver
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
If you are currently following the eVOLVER server in
supervisorctl
, usectrl+C
to exit. Otherwise, follow steps to view server log.Enter the following command:
restart evolver
If you quickly follow the server via
tail -f evolver
you should see it restart
Last updated