Skip to content

Add option to hide namespace in logs#578

Closed
donatas wants to merge 5 commits into
debug-js:masterfrom
donatas:master
Closed

Add option to hide namespace in logs#578
donatas wants to merge 5 commits into
debug-js:masterfrom
donatas:master

Conversation

@donatas

@donatas donatas commented Jun 13, 2018

Copy link
Copy Markdown

Our log collector expects the output to be of some format (across systems, that write logs) and now the only thing I can't control is the namespace, prepended to each line.

It's enabled by default, passing environment variable allows hiding it.

PR contains tests that cover default behavior (namespace + log) and the new feature.

@donatas donatas changed the title Add option to not hide namespace Add option to hide namespace in logs Jun 13, 2018
@donatas

donatas commented Jun 13, 2018

Copy link
Copy Markdown
Author

@TooTallNate please review

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+7.06%) to 80.838% when pulling d790954 on donatas:master into 22f9932 on visionmedia:master.

@coveralls

coveralls commented Jun 13, 2018

Copy link
Copy Markdown

Coverage Status

Coverage increased (+7.06%) to 80.838% when pulling 5bbfcb0 on donatas:master into 22f9932 on visionmedia:master.

@donatas

donatas commented Jun 13, 2018

Copy link
Copy Markdown
Author

@thebigredgeek @nkolban

@Qix-

Qix- commented Jun 20, 2018

Copy link
Copy Markdown
Member

Hi there - I'm 👎 personally with adding yet another env var. Could you weigh in on #582?

@Qix- Qix- added discussion This issue is requesting comments and discussion feature This proposes or provides a feature or enhancement change-minor This proposes or provides a change that requires a minor release awaiting-response This issue or pull request is awaiting a user's response labels Jun 20, 2018
@Qix-

Qix- commented Dec 13, 2018

Copy link
Copy Markdown
Member

Closing in favor of #582.

@Qix- Qix- closed this Dec 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-response This issue or pull request is awaiting a user's response change-minor This proposes or provides a change that requires a minor release discussion This issue is requesting comments and discussion feature This proposes or provides a feature or enhancement

Development

Successfully merging this pull request may close these issues.

3 participants