View log files via command-line - Alfresco Content Services - 23.4 - 23.4 - Ready - Alfresco - external

Alfresco Content Services

Platform
Alfresco
Product
Alfresco Content Services
Release
23.4
License

You can view log files for individual pods from the command-line using the kubectl utility.

Retrieve the list of pods in the alfresco namespace:

kubectl get pods -n alfresco

Retrieve the logs for a pod using the following command (replace the pod name accordingly):

kubectl logs acs-alfresco-cs-repository-69545958df-6wzl6 -n alfresco

To continually follow the log file for a pod, use the -f option:

kubectl logs -f acs-alfresco-cs-repository-69545958df-6wzl6 -n alfresco