platformsh / legacy-cli

This is the legacy version of Platform.sh's command-line interface. The new version is at: https://github.com/platformsh/cli
https://docs.platform.sh/administration/cli.html
MIT License
221 stars 120 forks source link

Log files missing from environments:log #544

Closed mrkschan closed 7 years ago

mrkschan commented 7 years ago

In nodejs / python / ruby application container, there is /var/log/app.log.

In php application container, there is /var/log/php.access.log.

Shall we include these in environments:log?

pjcdawkins commented 7 years ago

The command SSHs in, and runs ls -1 /var/log/*.log - is that somehow failing?

pjcdawkins commented 7 years ago

Also, platform log app will work (regardless of the list it shows you if you run platform log with no arguments)

mrkschan commented 7 years ago

I probably be wrong. i just read https://github.com/platformsh/platformsh-cli/blob/development/src/Command/Environment/EnvironmentLogCommand.php#L113-L119.

pjcdawkins commented 7 years ago

Ah, that bit is just for the autocomplete (platform log <TAB>)