Terminus Plugin that allows to download all logs from a specific environment of a Pantheon sites.
This will also pull logs on an environment with multiple containers.
Learn more about Terminus and Terminus Plugins at: https://pantheon.io/docs/terminus/plugins/
This plugin requires no configuration to use.
Download all logs from dev
.
terminus get-logs my_site.dev
Only download nginx-access.log and nginx-error.log logs.
terminus get-logs my_site.dev --nginx-access --nginx-error
Exclude nginx-access.log and nginx-error.log from download.
terminus get-logs my_site.dev --exclude --nginx-access --nginx-error
For help installing, see Manage Plugins
mkdir -p ~/.terminus/plugins
cd ~/.terminus/plugins
git clone https://github.com/jfussion/terminus-get-logs.git