Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

How to check logs

Sri Maurya Kummamuru edited this page Jan 20, 2021 · 5 revisions
Warning: This page is going to be retired and this documentation will be maintained at - https://github.com/OpenConceptLab/ocl-docs/blob/main/docs/source/oclapi/admin/howtochecklogs.md

Overview

In order to view containers' logs, docker logs is the best bet to go. Before viewing logs, running containers could be seen by running docker ps and docker ps -a if wished to view stopped containers as well

Checking logs

OCL_API

   docker logs <container name> --tail <number of lines to tail> -f # -f is for following

OCL_WEB

   less /var/log/ocl/web_debug.log

or

   less /var/log/ocl/web_debug.log.`date +%Y-%m-%d`_*
Clone this wiki locally