Consult Cyberwatch logs

Use the logs command of the cyberwatch binary:

sudo cyberwatch logs [SERVICE] [-f]

For a complete description of the services used by the application, consult the services documentation.

Main services which logs are generally consulted are: web, sidekiq and nginx:

  • web logs contain all application logs resulting from users actions, which helps identify potential 500 errors for example;
  • sidekiq logs contain all logs related to tasks and jobs execution in the application;
  • nginx logs contain all requests sent towards the nginx web server in front of the application.


For example, consult the logs of the web container and filter only the errors:

sudo cyberwatch logs web 2>&1 | grep ERROR

Back to top