As a security requirement the API logs are stored indefinitely on Openshift DELL ECS storage. In order to access logs you will need to download log files from Openshift with a tool of your choice, for example Cyberduck. Log files are simple text files that follow the naming convention "[DATE]-console.log".
- Download and Install Cyberduck from the official website (at the time of writing https://cyberduck.io),
- Run Cyberduck and click "Open connection",
- In opened modal select "Amazon S3" type connection,
- Populate the server field with "nrs.objectstore.gov.bc.ca",
- Populate Access Key ID and Secret Access Key with corresponding DELL ECS bucket credentials (credentials are stored in API configuration in Vault. Reach out to whoever has the necessary permissions to access the secrets in Vault),
- Hit the "Connect" button,
- Once connected, navigate to the bucket (in the case of TEST env it is "ckbdwh") and locate the "logs" folder,
- Once in the "logs" folder, simply drag and drop a log file that you are interested in on your local machine and open it with the text editor of your choice.