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

HAI Log features at startup #401

Merged
merged 1 commit into from
Sep 5, 2023
Merged

HAI Log features at startup #401

merged 1 commit into from
Sep 5, 2023

Conversation

corvidian
Copy link
Contributor

Description

Log features at startup for debugging.

Jira Issue: -

Type of change

  • Bug fix
  • New feature
  • Other

Instructions for testing

Start the service and see logs.

Checklist:

  • I have written new tests (if applicable)
  • I have ran the tests myself (if applicable)
  • I have made necessary changes to the documentation, link to confluence
    or other location:

Other relevant info

Example log:

{"@timestamp":"2023-09-05T14:58:03.838102+03:00","@version":"1","message":"Listing feature flags:","logger_name":"fi.hel.haitaton.hanke.configuration.FeatureFlags","thread_name":"main","level":"INFO","level_value":20000}
{"@timestamp":"2023-09-05T14:58:03.838326+03:00","@version":"1","message":"Feature HANKE_EDITING is false","logger_name":"fi.hel.haitaton.hanke.configuration.FeatureFlags","thread_name":"main","level":"INFO","level_value":20000}
{"@timestamp":"2023-09-05T14:58:03.838357+03:00","@version":"1","message":"Feature USER_MANAGEMENT is false","logger_name":"fi.hel.haitaton.hanke.configuration.FeatureFlags","thread_name":"main","level":"INFO","level_value":20000}

@corvidian corvidian merged commit ca37573 into dev Sep 5, 2023
1 of 2 checks passed
@corvidian corvidian deleted the HAI-log-features-at-startup branch September 5, 2023 12:10
@sonarcloud
Copy link

sonarcloud bot commented Sep 5, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

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.

2 participants