Skip to content

Log TS Server version and process args #20847

Merged
mhegazy merged 2 commits into
microsoft:masterfrom
mjbvz:print-tsserver-args-in-logs
Jan 4, 2018
Merged

Log TS Server version and process args #20847
mhegazy merged 2 commits into
microsoft:masterfrom
mjbvz:print-tsserver-args-in-logs

Conversation

@mjbvz
Copy link
Copy Markdown
Contributor

@mjbvz mjbvz commented Dec 21, 2017

Fixes #18867

Adds basic logging of the version of tsserver being run and the full command line arguments used to run it

Fixes microsoft#18867

Adds basic logging of the version of tsserver being run and the full command line arguments used to run it
@mjbvz mjbvz requested a review from RyanCavanaugh December 21, 2017 19:31
@mjbvz mjbvz changed the title Print TS Server version and args in logs Log TS Server version and process args Dec 21, 2017
Comment thread src/server/server.ts Outdated
allowLocalPluginLoads
};

if (logger.hasLevel(LogLevel.normal)) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

why not do it without checking level.. I think this information is good to have in any logging mode.

@mhegazy mhegazy merged commit 8ed4e66 into microsoft:master Jan 4, 2018
@microsoft microsoft locked and limited conversation to collaborators Jul 3, 2018
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.

3 participants