- Newest
- Most votes
- Most comments
Hello.
If you just want to display the log for now, I think you can do it using the method introduced in the blog below.
https://precisefuture.com/en/tutorial/wordpress-logs-in-aws-lightsail/
If you want to download the log file, you will need to connect to Lightsail using an SSH command, copy the error log to the Linux user's home directory, and retrieve it using SCP, etc.
https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-ssh-using-terminal.html
I think the steps in the following document will be helpful for copying files to your home directory.
https://repost.aws/knowledge-center/lightsail-permission-denied-transferring
I think you could download it by copying it to your home directory and running the following SCP command on your PC.
scp -i lightsail-key.pem bitnami@lightsail-instance-public-ip:/home/bitnami/error_log ./
Relevant content
- asked 6 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
