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

Make startup of all elements more useful and consistent #2169

Closed
klausman opened this issue Nov 26, 2018 · 4 comments
Closed

Make startup of all elements more useful and consistent #2169

klausman opened this issue Nov 26, 2018 · 4 comments
Assignees

Comments

@klausman
Copy link
Contributor

All elements (BS/PS/CS/DS/SIG/dispatcher/SCIONd, possibly more) should log one distinct line on startup, for example:

====================> Starting PathServer ps1-2-3

After this (or on the same line), these things should also be logged:

  • Commit ID the binary was built from
  • Build date
  • Version number, if available
  • Build chain version(s) (Compiler versions for gcc and Go)
  • Whether the process is dockerized (examine /proc/self/cgroups for that)
  • uid/gid the process is running as
  • unparsed command line as seen by the process

The clean exit lines should be similarly distinctive (same leader as the start line).

@kormat
Copy link
Contributor

kormat commented Nov 26, 2018

(This is an expansion of the work done in #2014)

@klausman
Copy link
Contributor Author

This should probably become a library function, at least for Go.

@lukedirtwalker lukedirtwalker self-assigned this Nov 28, 2018
lukedirtwalker added a commit to lukedirtwalker/scion that referenced this issue Nov 28, 2018
lukedirtwalker added a commit to lukedirtwalker/scion that referenced this issue Nov 30, 2018
lukedirtwalker added a commit to lukedirtwalker/scion that referenced this issue Nov 30, 2018
lukedirtwalker added a commit to lukedirtwalker/scion that referenced this issue Dec 7, 2018
lukedirtwalker added a commit to lukedirtwalker/scion that referenced this issue Dec 7, 2018
lukedirtwalker added a commit that referenced this issue Dec 7, 2018
@lukedirtwalker
Copy link
Collaborator

We have common startup messages for all go services since #2177. Most services are now go and the rest will be replaced soon, therefore this issue can be closed.

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

No branches or pull requests

3 participants