- Plesk for Linux
- Plesk for Linux/Unix
How to fetch Plesk Action Log using the command line
Plesk saves user actions in the internal action log stored in the Plesk database. Configuration parameters of the Plesk Action Log are available on the Tools & Settings > Action Log screen, where it is also possible to download the action log for a selected time period.
However, it is also possible to fetch the action log records directly from the database using the following instruction:
Log in to Plesk server using SSH .
Download a script with the command:
Unpack the script and add execution permission for it:
# tar -zvxf action.tar.gz
# chmod +x action_log.sh
Execute the script:
The script creates a new file
with action log stored in it.