To inspect the Gravio Coordinator logfiles, follow the steps below:
Ensure that your Coordinator is running
First, ensure that the Coordinator is running. Go to the directory, where you installed your Coordinator, for example /home/ubuntu/coordinatorsetup2.1
and check if the services are running using docker ps
:
$ sudo docker ps
Check the service log
Specify the service whose log you want to check and display the log.
$ sudo docker logs -f --tail=500 <servicename>
Note: --tail=500
is the parameter to set the limit of lines displayed
Press CTRL+C
to stop the log display.
When checking the coordinator logs, you can enter:
$ sudo docker logs -f --tail=500 coordinator-gravio-1
Saving the log files
The log files are managed by docker and the maximum file size for each service is 100 MB in up to 3 files. An automatic log rotate will delete old log files if those limitations are exceeded.