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

How to check logs

Emrah Bayraktaroglu edited this page Apr 3, 2017 · 5 revisions

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/logs/ocl/web_debug.log.`date +%Y-%m-%d`_*
Clone this wiki locally