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: Add logging of service version and total startup time #434

Merged
merged 1 commit into from
Aug 4, 2020

Conversation

eno-intel
Copy link
Contributor

fixes: #423

Signed-off-by: Enobong Udoko [email protected]

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

The service startup message is currently logged using the message bootstrap handler during the SDK initialize(). This occurs too early as the SDK does additional processing after the bootstrap handlers run.

Issue Number:
#423

What is the new behavior?

Remove use of message bootstrap handler and just need to log the same messages after the call to the SDK Initialize() completes.

Does this PR introduce a breaking change?

  • Yes
  • No

Are there any new imports or modules? If so, what are they used for and why?

No

Are there any specific instructions or things that should be known prior to reviewing?

No

Other information

@eno-intel
Copy link
Contributor Author

@lenny-intel @rsdmike @charles-knox-intel @

@lenny-goodell lenny-goodell self-requested a review August 3, 2020 23:24
appsdk/sdk.go Outdated Show resolved Hide resolved
appsdk/sdk.go Outdated Show resolved Hide resolved
@eno-intel eno-intel force-pushed the log-startup branch 2 times, most recently from e8146fc to e491121 Compare August 4, 2020 21:28
lenny-goodell
lenny-goodell previously approved these changes Aug 4, 2020
Copy link
Member

@lenny-goodell lenny-goodell left a comment

Choose a reason for hiding this comment

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

LGTM

@lenny-goodell lenny-goodell merged commit ef90721 into edgexfoundry:master Aug 4, 2020
@lenny-goodell lenny-goodell deleted the log-startup branch August 4, 2020 23:00
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.

Add logging of service version and total startup time
2 participants