download-logs.py
that retrieves log files from the PPL controller
and stores them in a folder called logs
on your local machine within the current directory. Follow the steps below:
Open Visual Studio Code
Open repository
ppl-app
repository.Open a new terminal
Run the command
logs
folder on your local machine and current directory.Open a Terminal
Use the SCP Command
scp
command:ipAddress
with the IP address of the controller.filename
with the actual name of the log file you want to download
/local/path/
with the directory path on your local machine where you want to save the log file.192.168.1.10
, you want to download the pplpy.log
file, and you want to save
it to your Desktop, the command would look like this:Enter the Password
admin
user. Once you provide the correct
password, the log file will be copied to your specified local directory.Download and Install FileZilla
Launch FileZilla
Connect to the Controller
Host
, Username
, Password
, and Port
.192.168.1.10
).admin
).22
for SFTP (secure FTP).Navigate to the Logs Directory
/opt/ppl/log
directory where the logs are stored./opt/ppl/log/
folder to open it and view the log files.Download the Logs
Ctrl
(Windows) or Cmd
(macOS) key).Disconnect from the Controller