Retrieve engine logs from Marketplace VM
Retrieving VM logs
By default logs are located in /var/log/flexify/engine.
Step 1: SSH to engine using:
ssh -i <key> root/user@<ip>
Step 2: Check proxy log file name using ls
ls /var/log/flexify/engine
Step 3: Downloading logs from VM to your local machine.
scp -i <keys> root/user@<ip>:/var/log/flexify/engine/<File Name> <Local folder directory>
Retrieving Docker container logs
Step 1: Find your container id using:
docker container ps
Step 2: Check proxy log file name using:
docker exec <container id> ls /var/log/flexify/engine
Step 3: Download log file from your container to your local folder:
docker cp <container id>:/var/log/flexify/engine/<proxy log file> <directory to your local folder>