Skip to content

Tty aware logs#23

Merged
algrebe merged 7 commits intodeep-compute:masterfrom
algrebe:tty-aware-logs
Dec 20, 2016
Merged

Tty aware logs#23
algrebe merged 7 commits intodeep-compute:masterfrom
algrebe:tty-aware-logs

Conversation

@algrebe
Copy link
Copy Markdown
Contributor

@algrebe algrebe commented Dec 20, 2016

No description provided.

basescript checks if stderr is a tty and prints pretty logs
instead of json.
this setting can be overridden by providing --format json.
by default, if it is a tty, a timestamp is also added.
@algrebe algrebe self-assigned this Dec 20, 2016
@algrebe algrebe merged commit 9429b3f into deep-compute:master Dec 20, 2016
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.

1 participant