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

Improve startup reporting #335

Merged
merged 3 commits into from
Apr 13, 2023
Merged

Conversation

danielealbano
Copy link
Owner

@danielealbano danielealbano commented Apr 13, 2023

This PR improves the information reported at the beginning, here the new output

$ ./cachegrand-server -c /etc/cachegrand.yaml
[2023-03-13T18:46:15Z][INFO       ][program_startup_report] cachegrand-server version v0.1.5.1-51-g60bebd96-dirty (built on 2023-04-13T18:42:45Z)
[2023-03-13T18:46:15Z][INFO       ][program_startup_report] > Debug build, compiled using gcc v12.2.0
[2023-03-13T18:46:15Z][INFO       ][program_startup_report] > Hashing algorithm in use t1ha2
[2023-03-13T18:46:15Z][INFO       ][program_startup_report] > Running on Linux daalbano-lnx-pc 5.19.0-38-generic #39-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 17 17:33:16 UTC 2023 x86_64
[2023-03-13T18:46:15Z][INFO       ][program_startup_report] > Memory: 64210 MB total, 1955 MB swap total
[2023-03-13T18:46:15Z][INFO       ][program_startup_report] > TLS: mbed TLS 2.28.1 (kernel offloading enabled)
[2023-03-13T18:46:15Z][INFO       ][program_startup_report] > Realtime clock source <POSIX>, resolution <4 ms>
[2023-03-13T18:46:15Z][INFO       ][program_startup_report] > Monotonic clock source <Hardware (TSC)>, estimated cpu cycles per second <4.20 GHz>
[2023-03-13T18:46:15Z][INFO       ][config] Loading the configuration from /etc/cachegrand.yaml
...

Here the previous output

$ ./cachegrand-server -c /etc/cachegrand.yaml
[2023-03-13T18:47:57Z][INFO       ][config] Loading the configuration from /etc/cachegrand.yaml
[2023-03-13T18:47:57Z][INFO       ][program] cachegrand-server version v0.1.5.1-51-g5b6a4889-dirty (built on 2023-04-13T18:47:53Z)
[2023-03-13T18:47:57Z][INFO       ][program] > Debug build, compiled using gcc v12.2.0
[2023-03-13T18:47:57Z][INFO       ][program] > Hashing algorithm in use t1ha2
[2023-03-13T18:47:57Z][INFO       ][program] > TLS: mbed TLS 2.28.1 (kernel offloading enabled)
[2023-03-13T18:47:57Z][INFO       ][program] > Clock resolution: 4 ms

@danielealbano danielealbano added the enhancement New feature or request label Apr 13, 2023
@danielealbano danielealbano added this to the v0.2 milestone Apr 13, 2023
@danielealbano danielealbano self-assigned this Apr 13, 2023
@danielealbano danielealbano enabled auto-merge (squash) April 13, 2023 18:49
@danielealbano danielealbano merged commit 66aea93 into main Apr 13, 2023
@danielealbano danielealbano deleted the feat-improve-startup-reporting branch April 13, 2023 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant