# Preview issues when using the Remote Engine Gen2

You are having issues displaying the data preview in your pipelines when using the Remote Engine Gen2 installed locally, on your private VPC or using CloudFormation and would like to display the corresponding logs.

## Troubleshooting

### Procedure

1. Run the following command to display the logs related to the preview service:
   ```
   docker-compose logs -f --tail 50 previewrunner 
   ```

   This command displays the last 50 lines of the preview service logs.
2. Optional: If you want to display and print all the logs of your Remote Engine Gen2, run the following command:
   ```
   docker-compose logs --tail 100000 > my-engine-all-logs.txt
   ```

   This command would transfer the last 10000 log rows in a .txt file.