Skip to content

Comments

Add logs commands to access app logs via dokku client#28

Open
jimeh wants to merge 10 commits intosehrope:masterfrom
jimeh:master
Open

Add logs commands to access app logs via dokku client#28
jimeh wants to merge 10 commits intosehrope:masterfrom
jimeh:master

Conversation

@jimeh
Copy link

@jimeh jimeh commented Aug 3, 2015

As the bulit-in dokku logs command only shows the output of supervisord itself, I created a few extra logs:* commands to enable accessing various app/process logs.

Additionally I had a bunch of random cleanup/reorg changes laying around from when I was bored that I threw in. No offense taken if you don't like my cleanup bullshit, and if so I can create a new PR with just the changes required for the logs commands :)

jimeh added 10 commits August 2, 2015 12:02
Not sure if there's a better way to do this, but it works for now.
This allows you to see app specific logs via the "logs:app" command, as
the regular "logs" command just shows you the STDOUT from
supervisord. Additionally supervisord's log level has been reverted from
debug back to info, as app STDOUT is accessible via "logs:app" command.
Additionally print a warning message when there are no log files to
tail, rather than tail itself complaining about stdin.
@danielepolencic
Copy link

+1

@dblock
Copy link

dblock commented Jun 19, 2016

+1 here too, need any help with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants