Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(feat) Allow logging when stdout isn't a tty #65

Merged
merged 1 commit into from
Dec 29, 2015

Conversation

adamreeve
Copy link
Contributor

If stdout can't be opened as a term::StdoutTerminal then just write plain text to stdout.

@viraptor
Copy link
Contributor

Bump. This would be very useful. Currently if you try to run iron app under upstart/systemd with stdout redirected to log file, you get "CouldNotOpenTerminal".

@reem
Copy link
Member

reem commented Dec 29, 2015

Looks great, thank you!

reem added a commit that referenced this pull request Dec 29, 2015
(feat) Allow logging when stdout isn't a tty
@reem reem merged commit 871139d into iron:master Dec 29, 2015
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