Skip to content
This repository was archived by the owner on Feb 12, 2022. It is now read-only.

Conversation

@RedXVII
Copy link

@RedXVII RedXVII commented Jun 13, 2013

heroku logs -t | cat

This command will not print any new output from the application, effectively ignoring the -t option.

@diatmpravin
Copy link

You did't specified file name.

$ heroku logs --t --app demo_app | cat > demo_app_log.txt

@RedXVII
Copy link
Author

RedXVII commented Jun 3, 2013

@diatmpravin It doesn't print anything in demo_app_log.txt for me.
Besides, I might not want to redirect my output to a file, i used cat because it was the most obvious example, but here I just want to redirect the logs to a binary of my own, and the pipe isn't working.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change

@rattrayalex
Copy link

FWIW, it does appear that heroku --log -t > some_file.log works, and you can tail -f some_file.log | program as a workaround

@jdx
Copy link
Contributor

jdx commented Jun 28, 2016

I'm not able to reproduce this at all. Does heroku logs -t | cat work now? This code has been entirely rewritten.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants