Developer Portal on container - OS Level logs are not generated
search cancel

Developer Portal on container - OS Level logs are not generated

book

Article ID: 249961

calendar_today

Updated On:

Products

CA API Developer Portal

Issue/Introduction

We are running developer portal 5.1 using the CentOS OVA provided by Broadcom and we noticed that it is not writing any logs under /var/logs/messages & /var/logs/secure .

We are looking for the logs related to the container host (i.e centos platform that is hosting the docker service).

For example, 

I need to know unsuccessful login attempts to the server (Login to the centos using ssh). Can you let me know where can we find such logs. 

Environment

Release : 5.1

Component : API PORTAL

Resolution

As portal is a container form factor, it does not write anything onto the OS related files.

You can use the command "journalctl -u sshd" to monitor the user login onto the host